diff options
author | nadir <nadir-technik@nadir.org> | 2009-12-11 22:01:16 +0100 |
---|---|---|
committer | nadir <nadir-technik@nadir.org> | 2009-12-11 22:01:16 +0100 |
commit | 1c491fecdaa31b0729de4cbcfac431829851b989 (patch) | |
tree | 2b658357918641bfa140e784e75e5a4b2b2a653c /manifests | |
parent | dc3a7e41c648a4975ee117a161c59e4678ffff3f (diff) | |
download | puppet-apt-1c491fecdaa31b0729de4cbcfac431829851b989.tar.gz puppet-apt-1c491fecdaa31b0729de4cbcfac431829851b989.tar.bz2 |
cleaned init.pp
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 07b6c2b..11f627b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -245,15 +245,8 @@ class dselect { class apt::unattended_upgrades { - case $operatingsystem { - debian,ubuntu: { - package { unattended-upgrades : ensure => latest; } - file { "/etc/apt/apt.conf.d/50unattended-upgrades": - source => "puppet://$server/modules/apt/50unattended-upgrades" } - } - - default: { notice "unknown operatingsystem: $operatingsystem for class apt::unattended_upgrades" } - } - + package { unattended-upgrades : ensure => latest; } + file { "/etc/apt/apt.conf.d/50unattended-upgrades": + source => "puppet://$server/modules/apt/50unattended-upgrades" } } |