diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/unattended_upgrades.pp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/manifests/unattended_upgrades.pp b/manifests/unattended_upgrades.pp index 0ebccae..cfadc5e 100644 --- a/manifests/unattended_upgrades.pp +++ b/manifests/unattended_upgrades.pp @@ -2,12 +2,11 @@ class apt::unattended_upgrades { package{'unattended-upgrades': ensure => present } config_file { - "/etc/apt/apt.conf.d/unattended_upgrades": - content => 'APT::Periodic::Update-Package-Lists "1"; + "/etc/apt/apt.conf.d/unattended_upgrades": + content => 'APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; ', - before => File[apt_config], - require => Package['unattended-upgrades'], - } + before => File[apt_config], + require => Package['unattended-upgrades'], } } |