Closed NITEMAN closed 11 years ago
Thanks for the pull request!
It seems like the --force-confold
flag that puppet is passing into the dpkg
call is doing the right thing and using the file created by the module. I believe something in the postinst script is failing (specifically when it calls postinst configure
), based on the log line about post-installation script returning a 127 exit status.
It looks like the version available in the squeeze repo is 0.48 and the one available on Ubuntu is a bit newer at 0.6x. I wonder if the /etc/etckeeper/etckeeper.conf file generated by this module is not compatible with older version?
I'll take a look later this week on a debian vm. If you have a chance to install etckeeper 0.48 with its default etckeeper.conf file, would you mind posting it here?
I appreciate the effort you made to make this change, but I can't merge it. The etckeeper.conf file needs to exist prior to the package installation. Otherwise the postinst script will try to initialize a bazaar repo, which will fail (unless bazaar happens to be installed). See line 81 of the postinst script for the etckeeper init call.
Thanks!
Thanks for your response.
It seems that the error was caused either by an outdated puppet install (Debian default version) or most likely due a line ending conversion problem (risks of using tortoise git & windows).
I can't reproduce the issue any more, excuse me for the inconveniences.
Best regards
Module is unusable on Debian since Dpkg complaints about configuration files already exists on the system: