]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
fix for the following: warning: Dynamic lookup of $custom_preferences at modules...
authorMicah Anderson <micah@riseup.net>
Thu, 20 Jun 2013 19:32:51 +0000 (15:32 -0400)
committerMicah Anderson <micah@riseup.net>
Thu, 20 Jun 2013 19:32:51 +0000 (15:32 -0400)
manifests/preferences_snippet.pp

index 5ae748b0ea028c55a095a2a2c0720226f1616964..cbc83d20114ef2dfd81a48aeeefb57ad67eed942 100644 (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.')
     }