unattended_upgrades: Allow changing legacy_origin
This enables using Origins-Pattern in Ubuntu.
This commit is contained in:
parent
97f70034c9
commit
3799e3a23c
2 changed files with 9 additions and 6 deletions
|
@ -74,6 +74,7 @@ class { 'apt':
|
|||
|
||||
```
|
||||
class { 'apt::unattended_upgrades':
|
||||
legacy_origin => $::apt::params::legacy_origin,
|
||||
origins => $::apt::params::origins,
|
||||
blacklist => [],
|
||||
update => '1',
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
# file and in /etc/cron.daily/apt
|
||||
#
|
||||
class apt::unattended_upgrades (
|
||||
$legacy_origin = $::apt::params::legacy_origin,
|
||||
$origins = $::apt::params::origins,
|
||||
$blacklist = [],
|
||||
$update = '1',
|
||||
|
@ -40,6 +41,7 @@ class apt::unattended_upgrades (
|
|||
) inherits ::apt::params {
|
||||
|
||||
validate_bool(
|
||||
$legacy_origin,
|
||||
$auto_fix,
|
||||
$minimal_steps,
|
||||
$install_on_shutdown,
|
||||
|
|
Loading…
Reference in a new issue