From 32297aace9a2f8ef1117ea233335b93f8fb0aee2 Mon Sep 17 00:00:00 2001 From: Keith Burdis Date: Fri, 8 Feb 2013 15:57:57 +0000 Subject: Create the site in the install class to avoid having to specify lots of dependencies. Fixes after testing. --- manifests/host.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/host.pp') diff --git a/manifests/host.pp b/manifests/host.pp index 87687a4..4e8d146 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -3,9 +3,9 @@ define check_mk::host ( $host_tags = [], ) { $host = $title - if size($host_tags) > 0 - $_tags = join($host_tags,'|') - $entry = "${host}|${_tags}" + if size($host_tags) > 0 { + $taglist = join($host_tags,'|') + $entry = "${host}|${taglist}" } else { $entry = $host -- cgit v1.2.3