[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.1rc3-129-g74f8285
James Turnbull
james at lovedthanlost.net
Tue Sep 7 13:30:56 UTC 2010
The following commit has been merged in the upstream branch:
commit b06363549a8cd9371ee798ac2613bdcdc5837f12
Author: Dean Wilson <dean.wilson at gmail.com>
Date: Fri Aug 13 13:50:52 2010 +0100
Skip apt-listbugs and apt-listchanges when installing from puppet
diff --git a/lib/puppet/provider/package/apt.rb b/lib/puppet/provider/package/apt.rb
index b6ded39..2fc7874 100755
--- a/lib/puppet/provider/package/apt.rb
+++ b/lib/puppet/provider/package/apt.rb
@@ -14,6 +14,10 @@ Puppet::Type.type(:package).provide :apt, :parent => :dpkg, :source => :dpkg do
ENV['DEBIAN_FRONTEND'] = "noninteractive"
+ # disable common apt helpers to allow non-interactive package installs
+ ENV['APT_LISTBUGS_FRONTEND'] = "none"
+ ENV['APT_LISTCHANGES_FRONTEND'] = "none"
+
# A derivative of DPKG; this is how most people actually manage
# Debian boxes, and the only thing that differs is that it can
# install packages from remote sites.
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list