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:
commit
9df32aacd6
1 changed files with 2 additions and 1 deletions
|
@ -3,10 +3,11 @@ class apt::unattended_upgrades (
|
||||||
$mailonlyonerror = true,
|
$mailonlyonerror = true,
|
||||||
$mail_recipient = 'root',
|
$mail_recipient = 'root',
|
||||||
$blacklisted_packages = [],
|
$blacklisted_packages = [],
|
||||||
|
$ensure_version = present
|
||||||
) {
|
) {
|
||||||
|
|
||||||
package { 'unattended-upgrades':
|
package { 'unattended-upgrades':
|
||||||
ensure => present
|
ensure => $ensure_version
|
||||||
}
|
}
|
||||||
|
|
||||||
$file_content = $config_content ? {
|
$file_content = $config_content ? {
|
||||||
|
|
Loading…
Reference in a new issue