diff options
Diffstat (limited to 'manifests/agent.pp')
-rw-r--r-- | manifests/agent.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/agent.pp b/manifests/agent.pp index 5a7eaf8..5ce0c4b 100644 --- a/manifests/agent.pp +++ b/manifests/agent.pp @@ -15,7 +15,11 @@ class check_mk::agent ( ) { if ( $use_ssh == true ) { - $tags = "$host_tags|$use_ssh_tag" + if ( $host_tags != '' ) { + $tags = "${host_tags}|${use_ssh_tag}" + } else { + $tags = $use_ssh_tag + } } else { $tags = $host_tags } |