[Pkg-puppet-devel] Bug#767936: mcollective, -client: prompting due to modified conffiles which were not modified by the user: /etc/mcollective/{client, server}.cfg

Jean Baptiste Favre debian at jbfavre.org
Sun Nov 16 21:02:17 UTC 2014


Hello,
Here is a new version of the patch.

I removed /etc/mcollective/{server,client}.cfg from package distribution
to avoid dpkg asking for replacement.
Then, to ensure config file upgrade while trying to keep as most user
modifications as possible, I added some sed commands into postinst
script to:
- change connector to activemq, only if stomp was used (stomp has been
deprecated since mcollective 2.2.0)
- for all stomp options, keep eventual user modification except for port
number (I assumed most people do not change default port for services
like stomp or activemq).

Do not hesitate if you have any question.

Regards,
Jean Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 767936.diff
Type: text/x-patch
Size: 5560 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20141116/78138270/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20141116/78138270/attachment-0003.sig>


More information about the Pkg-puppet-devel mailing list