From: Tollef Fog Heen Date: Sat, 10 Nov 2012 21:27:54 +0000 (+0100) Subject: Add guard around use of $::hoster, since it comes from our own facts X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d4955deea2b8c932ec1f6115115e33cf1b002a23;hp=916e9694a9c1cb5794171432882c5afb22a2389e;p=dsa-puppet.git Add guard around use of $::hoster, since it comes from our own facts --- diff --git a/manifests/site.pp b/manifests/site.pp index 41d88df4..bdbdb282 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -118,7 +118,9 @@ node default { munin::check { 'spamassassin': } } - if $::hoster in [ynic] { - include lldp + if $::hoster { + if $::hoster in [ynic] { + include lldp + } } }