diff options
author | Gabriel Filion <lelutin@gmail.com> | 2010-10-25 12:32:49 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2010-10-25 14:15:52 -0400 |
commit | aaf3bd6adb6cf979ce7c18492c3a60fa2b31cba9 (patch) | |
tree | 39585a38253ca84884804cbff68f6e82d266d3eb /manifests | |
parent | 4ebb7d463ed6e85a715f0a311378bf673a907042 (diff) |
Remove $apt_unattended_upgrades
Unattended upgrades are not always necessary. Including the
apt::unattended_upgrades class through the main apt class is not
appropriate. It is better to make nodes include the
apt::unattended_upgrades class explicitly.
Remove the $apt_unattended_upgrades variable along with the include in
the 'apt' class.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index dde9c29..9298d1a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -48,14 +48,12 @@ class apt { include apt::preferences::absent } default: { + # When squeeze becomes the stable branch, transform this file's header + # into a preferences.d file include apt::preferences } } - if $apt_unattended_upgrades { - include apt::unattended_upgrades - } - # watch apt.conf.d file { "/etc/apt/apt.conf.d": ensure => directory, checksum => mtime; } |