Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow changing legacy_origin #463

Merged
merged 2 commits into from
Mar 13, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
unattended_upgrades: Allow changing legacy_origin
This enables using Origins-Pattern in Ubuntu.
  • Loading branch information
mpesari authored and Morgan Haskel committed Mar 13, 2015
commit 3799e3a23c7d4e74c99aa4ec7e42de0b486ffe67
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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',
}
```

2 changes: 2 additions & 0 deletions manifests/unattended_upgrades.pp
Original file line number Diff line number Diff line change
@@ -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 @@
) inherits ::apt::params {

validate_bool(
$legacy_origin,
$auto_fix,
$minimal_steps,
$install_on_shutdown,