From d4955deea2b8c932ec1f6115115e33cf1b002a23 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sat, 10 Nov 2012 22:27:54 +0100 Subject: [PATCH] Add guard around use of $::hoster, since it comes from our own facts --- manifests/site.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 + } } } -- 2.39.2