summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp6
1 files changed, 3 insertions, 3 deletions
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