add $ensure_version parameter, to allow for overriding which version of unattended-upgrades is installed

This commit is contained in:
Micah Anderson 2015-05-06 15:52:07 -04:00
parent d483ddbbf0
commit a7cc68ed99

View file

@ -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 ? {