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:
Micah Anderson 2013-06-20 15:32:51 -04:00
parent 61a2f48948
commit 88bfe5fbab

View file

@ -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.')
}