aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ? {