diff options
author | varac <varacanero@zeromail.org> | 2015-05-06 21:40:35 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-05-06 21:40:35 +0200 |
commit | 0701c4cd84ed89e7aa5d9260cf8a743d6cd25d26 (patch) | |
tree | cafa2845ed692996ebfdc2e42d6350c261b176d9 /manifests | |
parent | d74b1d3e1d1d201fb0283afbb9238b162c59fafa (diff) |
don't call Exec[refresh_apt] after deploying unattended-upgrades config
unattended-upgrades is run on a daily base by cron, no need to force
an `apt-get update` after changing this file.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/unattended_upgrades.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/unattended_upgrades.pp b/manifests/unattended_upgrades.pp index 9f74bbd..5b1d5c6 100644 --- a/manifests/unattended_upgrades.pp +++ b/manifests/unattended_upgrades.pp @@ -15,7 +15,8 @@ class apt::unattended_upgrades ( } apt_conf { '50unattended-upgrades': - content => $file_content, - require => Package['unattended-upgrades'], + content => $file_content, + require => Package['unattended-upgrades'], + refresh_apt => false } } |