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
This commit is contained in:
varac 2015-05-06 20:00:32 +00:00
commit 9df32aacd6

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