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.adam-barratt.org.uk/?a=commitdiff_plain;h=d4955deea2b8c932ec1f6115115e33cf1b002a23;p=mirror%2Fdsa-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 41d88df46..bdbdb2823 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 + } } }