Including this chef recipe as the first one fixes the problem for me.
if platform_family?("debian")
%w{
DPKG_MAINTSCRIPT_PACKAGE
DEBCONF_REDIR
DEBIAN_FRONTEND
DEBIAN_HAS_FRONTEND
DPKG_NO_TSTP
UPSTART_JOB
DPKG_MAINTSCRIPT_NAME
}.each do |v|
ENV[v] = nil
end
end
Puppet seems to suffer from the same thing, see http://bugs.debian.org
/cgi-bin/bugreport.cgi?bug=439763
** Bug watch added: Debian Bug tracker #439763
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439763
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/961142
Title:
chef 0.10: package installation: returned 100, expected 0
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/961142/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs