From a4d788d778ad9b517c840c157d0c0119443c6ac9 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 6 May 2015 21:40:35 +0200 Subject: 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. --- manifests/unattended_upgrades.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifests/unattended_upgrades.pp b/manifests/unattended_upgrades.pp index 28c6092..6cb0518 100644 --- a/manifests/unattended_upgrades.pp +++ b/manifests/unattended_upgrades.pp @@ -16,7 +16,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 } } -- cgit v1.2.3