summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
authorKeith Burdis <keith@burdis.org>2013-02-07 13:11:20 +0000
committerKeith Burdis <keith@burdis.org>2013-02-07 13:11:20 +0000
commitdaf091c1d249703132b35380e7c973a132aca093 (patch)
tree06f7b31d736b8790c6ffd0306652d4425a42d7c2 /manifests/host.pp
parent6405936dae74ed336f1421a27c7c22abf6d02d9e (diff)
Use exported resources to populate all_hosts array.
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
new file mode 100644
index 0000000..5c83b96
--- /dev/null
+++ b/manifests/host.pp
@@ -0,0 +1,8 @@
+define check_mk::host {
+ $host = $title
+ concat::fragment { "check_mk-${host}":
+ target => '/etc/check_mk/main.mk',
+ content => " '${host}',\n",
+ order => 02,
+ }
+}