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
13
README.md
13
README.md
|
@ -74,12 +74,13 @@ class { 'apt':
|
|||
|
||||
```
|
||||
class { 'apt::unattended_upgrades':
|
||||
origins => $::apt::params::origins,
|
||||
blacklist => [],
|
||||
update => '1',
|
||||
download => '1',
|
||||
upgrade => '1',
|
||||
autoclean => '7',
|
||||
legacy_origin => $::apt::params::legacy_origin,
|
||||
origins => $::apt::params::origins,
|
||||
blacklist => [],
|
||||
update => '1',
|
||||
download => '1',
|
||||
upgrade => '1',
|
||||
autoclean => '7',
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -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