summaryrefslogtreecommitdiff
path: root/manifests/server/collect_hosts.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/collect_hosts.pp')
-rw-r--r--manifests/server/collect_hosts.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/server/collect_hosts.pp b/manifests/server/collect_hosts.pp
new file mode 100644
index 0000000..6d07897
--- /dev/null
+++ b/manifests/server/collect_hosts.pp
@@ -0,0 +1,6 @@
+class check_mk::server::collect_hosts {
+ Check_mk::Host <<| |>> {
+ target => "${::check_mk::config::etc_dir}/check_mk/main.mk",
+ notify => Exec['check_mk-refresh']
+ }
+}