summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-20 15:32:51 -0400
committerMicah Anderson <micah@riseup.net>2013-06-20 15:32:51 -0400
commit88bfe5fbab79b23a3f1d19c6283bdb2efd28598e (patch)
tree3c1268d030e8557926dde383ad4516c2092c1212
parent61a2f4894898baa98dbaaba7b69b7198864ca04a (diff)
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.bug/dynamic_lookup
-rw-r--r--manifests/preferences_snippet.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/preferences_snippet.pp b/manifests/preferences_snippet.pp
index 5ae748b..cbc83d2 100644
--- a/manifests/preferences_snippet.pp
+++ b/manifests/preferences_snippet.pp
@@ -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.')
}