]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Add guard around use of $::hoster, since it comes from our own facts
authorTollef Fog Heen <tfheen@err.no>
Sat, 10 Nov 2012 21:27:54 +0000 (22:27 +0100)
committerTollef Fog Heen <tfheen@err.no>
Sat, 10 Nov 2012 21:27:54 +0000 (22:27 +0100)
manifests/site.pp

index 41d88df462434ab0159fc9b46632598d65d601d0..bdbdb2823c16697298dd675d95c7577c995ae77a 100644 (file)
@@ -118,7 +118,9 @@ node default {
                munin::check { 'spamassassin': }
        }
 
-       if $::hoster in [ynic] {
-               include lldp
+        if $::hoster {
+               if $::hoster in [ynic] {
+                       include lldp
+               }
        }
 }