summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-05-06 21:40:35 +0200
committervarac <varacanero@zeromail.org>2015-05-06 21:40:35 +0200
commit0701c4cd84ed89e7aa5d9260cf8a743d6cd25d26 (patch)
treecafa2845ed692996ebfdc2e42d6350c261b176d9
parentd74b1d3e1d1d201fb0283afbb9238b162c59fafa (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.
-rw-r--r--manifests/unattended_upgrades.pp5
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
}
}