diff options
author | Keith Burdis <keith@burdis.org> | 2013-02-08 15:57:57 +0000 |
---|---|---|
committer | Keith Burdis <keith@burdis.org> | 2013-02-08 15:57:57 +0000 |
commit | 32297aace9a2f8ef1117ea233335b93f8fb0aee2 (patch) | |
tree | 2133501aa97fb1b7b22e3998bd564665cfba6fe2 /manifests/host.pp | |
parent | bdb8d71a4cffd2111be32570f1babaaae081881a (diff) |
Create the site in the install class to avoid having to specify lots of dependencies. Fixes after testing.
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 6 |
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 |