summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-30 14:44:11 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-30 14:44:11 +0000
commit19b5d3033cc9a80666941b607e2fc5932fa8011e (patch)
treed9a28c7082a4b8973464d69542c341ed0fe0d0b3
parentff6562f9fa1ddf7e816256764f1bcc491693df9f (diff)
downloadpuppet-19b5d3033cc9a80666941b607e2fc5932fa8011e.tar.gz
puppet-19b5d3033cc9a80666941b607e2fc5932fa8011e.tar.xz
puppet-19b5d3033cc9a80666941b607e2fc5932fa8011e.zip
Accepting patch #189, although I am just putting the environment statement in the main part of the class, since there are two apt commands
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1345 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xlib/puppet/type/package/apt.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/type/package/apt.rb b/lib/puppet/type/package/apt.rb
index b470272a8..10a1506a2 100755
--- a/lib/puppet/type/package/apt.rb
+++ b/lib/puppet/type/package/apt.rb
@@ -1,5 +1,7 @@
module Puppet
Puppet.type(:package).newpkgtype(:apt, :dpkg) do
+ ENV['DEBIAN_FRONTEND'] = "noninteractive"
+
# 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.