diff options
author | Igor Galić <i.galic@brainsware.org> | 2016-01-08 16:32:48 +0100 |
---|---|---|
committer | Igor Galić <i.galic@brainsware.org> | 2016-01-08 16:32:48 +0100 |
commit | 2fa05318cca28328415d2f260731b9831f6d16d5 (patch) | |
tree | 73b52882d0389f88de1251b9845943208da28db8 /manifests/init.pp | |
parent | a54d08ccaee099cb2fc66924ee2b967cea3e1f3e (diff) | |
parent | 7f9c04e1c45bd5b25c1b48206a5b52c7a08b6dfd (diff) |
Merge pull request #44 from voxpupuli/fixes
Doc and implementation fixes
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 7fe64ca..3d9f2df 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -20,6 +20,10 @@ class unattended_upgrades ( $notify_update = undef, ) inherits ::unattended_upgrades::params { + if $legacy_origin == undef or $origins == undef { + fail('Please explicitly specify unattended_upgrades::legacy_origin and unattended_upgrades::origins.') + } + validate_bool( $install_on_shutdown, $legacy_origin, |