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 41d88df..bdbdb28 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
+               }
        }
 }