summaryrefslogtreecommitdiff
path: root/puppet/modules/nagios/manifests/target
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/nagios/manifests/target')
-rw-r--r--puppet/modules/nagios/manifests/target/fqdn.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/nagios/manifests/target/fqdn.pp b/puppet/modules/nagios/manifests/target/fqdn.pp
new file mode 100644
index 00000000..31fc4b71
--- /dev/null
+++ b/puppet/modules/nagios/manifests/target/fqdn.pp
@@ -0,0 +1,12 @@
+# monitor a host by fqdn
+class nagios::target::fqdn(
+ $address = $::fqdn,
+ $hostgroups = 'absent',
+ $parents = 'absent'
+) {
+ class{'nagios::target':
+ address => $address,
+ hostgroups => $hostgroups,
+ parents => $parents
+ }
+}