aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-05-06 21:40:35 +0200
committervarac <varacanero@zeromail.org>2015-05-06 22:15:14 +0200
commita4d788d778ad9b517c840c157d0c0119443c6ac9 (patch)
tree615991e53cd2cf688cc79ea7b479b00ed792c643
parent9df32aacd601ca268ce69e04d84d0d391c4de8b5 (diff)
downloadpuppet-apt-a4d788d778ad9b517c840c157d0c0119443c6ac9.tar.gz
puppet-apt-a4d788d778ad9b517c840c157d0c0119443c6ac9.tar.bz2
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 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
}
}