diff options
author | nadir <nadir-technik@nadir.org> | 2010-10-09 13:39:39 +0200 |
---|---|---|
committer | nadir <nadir-technik@nadir.org> | 2010-10-09 13:39:39 +0200 |
commit | 9fa9bfd9d8c5df468ee8f39a6d951947f7b9d1c5 (patch) | |
tree | 8760d67b4fd4b51c55f72695ea80cbe2761f2056 /manifests | |
parent | 32d230c62c20f11d6d079ad53a446d61183c4a3d (diff) | |
download | puppet-apt-9fa9bfd9d8c5df468ee8f39a6d951947f7b9d1c5.tar.gz puppet-apt-9fa9bfd9d8c5df468ee8f39a6d951947f7b9d1c5.tar.bz2 |
added possibility to have a custom 50unattended-upgrades
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/unattended_upgrades.pp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/unattended_upgrades.pp b/manifests/unattended_upgrades.pp index c984c40..27942b3 100644 --- a/manifests/unattended_upgrades.pp +++ b/manifests/unattended_upgrades.pp @@ -5,11 +5,11 @@ class apt::unattended_upgrades { } config_file { - "/etc/apt/apt.conf.d/unattended_upgrades": - content => 'APT::Periodic::Update-Package-Lists "1"; -APT::Periodic::Unattended-Upgrade "1"; -', - before => Config_file[apt_config], - require => Package['unattended-upgrades'], + "/etc/apt/apt.conf.d/50unattended-upgrades": + source => ["puppet:///modules/site-apt/50unattended-upgrades", + "puppet:///modules/apt/50unattended-upgrades" ], + + before => Config_file[apt_config], + require => Package['unattended-upgrades'], } } |