fix for the following: warning: Dynamic lookup of $custom_preferences at modules/apt/manifests/preferences_snippet.pp:16 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag.
This commit is contained in:
parent
61a2f48948
commit
88bfe5fbab
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ define apt::preferences_snippet (
|
|||
}
|
||||
|
||||
if $ensure == 'present' {
|
||||
if $custom_preferences == false {
|
||||
if $apt::custom_preferences == false {
|
||||
fail('Trying to define a preferences_snippet with $custom_preferences set to false.')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue