Hello, I worked on this bug during Debian BSP in Paris with Julien. Here is a patch to remove /etc/mcollective/server.cfg & /etc/mcollective/client.cfg from their respective package. They still are installed, when missing, from postinst script.
I didn't remove /etc/default/mcollective, which is still provided by mcollective package, since it's not modified anymore by any postint script. Cheers, Jean Baptiste
diff -Nru mcollective-2.6.0+dfsg/debian/changelog mcollective-2.6.0+dfsg/debian/changelog --- mcollective-2.6.0+dfsg/debian/changelog 2014-10-14 14:18:57.000000000 +0200 +++ mcollective-2.6.0+dfsg/debian/changelog 2014-11-14 18:13:34.000000000 +0100 @@ -1,3 +1,11 @@ +mcollective (2.6.0+dfsg-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Remove server & client config files from package since they are modified + by postinst. (Closes: #767936) + + -- Jean Baptiste Favre <deb...@jbfavre.org> Fri, 14 Nov 2014 18:12:24 +0100 + mcollective (2.6.0+dfsg-1) unstable; urgency=low * Imported Upstream version 2.6.0+dfsg diff -Nru mcollective-2.6.0+dfsg/debian/rules mcollective-2.6.0+dfsg/debian/rules --- mcollective-2.6.0+dfsg/debian/rules 2014-10-14 14:18:57.000000000 +0200 +++ mcollective-2.6.0+dfsg/debian/rules 2014-11-14 18:13:51.000000000 +0100 @@ -4,8 +4,6 @@ dh $@ --buildsystem=ruby --with ruby,systemd override_dh_auto_install: - cp $(CURDIR)/etc/server.cfg.dist $(CURDIR)/debian/mcollective/etc/mcollective/server.cfg - cp $(CURDIR)/etc/client.cfg.dist $(CURDIR)/debian/mcollective-client/etc/mcollective/client.cfg cp $(CURDIR)/etc/facts.yaml.dist $(CURDIR)/debian/mcollective-common/etc/mcollective/facts.yaml cp $(CURDIR)/etc/rpc-help.erb $(CURDIR)/debian/mcollective-common/etc/mcollective/rpc-help.erb cp -R $(CURDIR)/lib/* $(CURDIR)/debian/mcollective-common/usr/lib/ruby/vendor_ruby/
signature.asc
Description: OpenPGP digital signature