summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Taggart <taggart@riseup.net>2015-05-12 11:29:35 -0700
committerMatt Taggart <taggart@riseup.net>2015-05-12 11:29:35 -0700
commit6fe1e0f3fb251aebdc3e26490e1df327012424f2 (patch)
tree18319228684ab02ea0b36de00f41cb396f46a319
parent5ca95eaf0c382c9e48bfda5c9385ea8c5c713301 (diff)
fix join to use an array
-rw-r--r--manifests/host.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 4e8d146..49f038b 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -4,7 +4,7 @@ define check_mk::host (
) {
$host = $title
if size($host_tags) > 0 {
- $taglist = join($host_tags,'|')
+ $taglist = join(any2array($host_tags),'|')
$entry = "${host}|${taglist}"
}
else {