summaryrefslogtreecommitdiff
path: root/manifests/agent.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-03-04 16:18:35 +0100
committervarac <varacanero@zeromail.org>2014-03-04 16:18:35 +0100
commit764cd8a0122483dce6e0a37e303b757ec0a6449e (patch)
treec9c89a077944cf3812cd2da1c5cdbb09b48d5b89 /manifests/agent.pp
parentf9e494265f6c7b83ab9ef418e40cc7aac5589563 (diff)
use check_mk::agent::register if registering storedconfig nodes
Diffstat (limited to 'manifests/agent.pp')
-rw-r--r--manifests/agent.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/agent.pp b/manifests/agent.pp
index f25c714..2ff9da5 100644
--- a/manifests/agent.pp
+++ b/manifests/agent.pp
@@ -53,7 +53,7 @@ class check_mk::agent (
}
if ( $register_agent ) {
- @@check_mk::host { $::fqdn:
+ class { 'check_mk::agent::register':
host_tags => $tags,
}
}