diff options
author | varac <varacanero@zeromail.org> | 2016-11-03 15:54:46 +0100 |
---|---|---|
committer | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-01-21 14:54:03 -0500 |
commit | 358459d2ef6fffa2775d25b168b8514f55167f38 (patch) | |
tree | 2661c017e233c80157cfa56d8903a97744900605 /manifests | |
parent | 5a7c6c98853cc7b6126cba9d86a2ffdde83b976b (diff) |
Fix preferences_snippet.pp for puppet 4
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/preferences_snippet.pp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/preferences_snippet.pp b/manifests/preferences_snippet.pp index b7dba0d..2b2fb74 100644 --- a/manifests/preferences_snippet.pp +++ b/manifests/preferences_snippet.pp @@ -2,9 +2,9 @@ define apt::preferences_snippet ( $priority = undef, $package = false, $ensure = 'present', - $source = '', - $release = '', - $pin = '' + $source = undef, + $release = undef, + $pin = undef ) { $real_package = $package ? { @@ -36,9 +36,9 @@ define apt::preferences_snippet ( } case $source { - '': { + undef: { case $release { - '': { + undef: { File["/etc/apt/preferences.d/${name}"]{ content => template('apt/preferences_snippet.erb') } |