diff options
author | Micah Anderson <micah@riseup.net> | 2015-05-06 15:52:07 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2015-05-06 15:52:07 -0400 |
commit | a7cc68ed9965f665572afd9d279ebf5f3c7043d7 (patch) | |
tree | b784d8f40c31ca0f2f5aaa5995f27e633d0f04a7 /manifests | |
parent | d483ddbbf0801345433e8b46e6b6976814266f6b (diff) | |
download | puppet-apt-a7cc68ed9965f665572afd9d279ebf5f3c7043d7.tar.gz puppet-apt-a7cc68ed9965f665572afd9d279ebf5f3c7043d7.tar.bz2 |
add $ensure_version parameter, to allow for overriding which version of unattended-upgrades is installed
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/unattended_upgrades.pp | 3 |
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 ? { |