summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-05-06 20:00:32 +0000
committervarac <varacanero@zeromail.org>2015-05-06 20:00:32 +0000
commit9df32aacd601ca268ce69e04d84d0d391c4de8b5 (patch)
treeb784d8f40c31ca0f2f5aaa5995f27e633d0f04a7 /manifests
parentd483ddbbf0801345433e8b46e6b6976814266f6b (diff)
parenta7cc68ed9965f665572afd9d279ebf5f3c7043d7 (diff)
Merge branch 'master' into 'master'
add $ensure_version parameter, to allow for overriding which version of unattend… …ed-upgrades is installed See merge request !11
Diffstat (limited to 'manifests')
-rw-r--r--manifests/unattended_upgrades.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/unattended_upgrades.pp b/manifests/unattended_upgrades.pp
index 9f74bbd..28c6092 100644
--- a/manifests/unattended_upgrades.pp
+++ b/manifests/unattended_upgrades.pp
@@ -3,10 +3,11 @@ class apt::unattended_upgrades (
$mailonlyonerror = true,
$mail_recipient = 'root',
$blacklisted_packages = [],
+ $ensure_version = present
) {
package { 'unattended-upgrades':
- ensure => present
+ ensure => $ensure_version
}
$file_content = $config_content ? {