diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:34 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:34 -0400 |
commit | a8c803387fe3a53cfee912470d98b1a39d8b1940 (patch) | |
tree | 792ce0ea9118fe76a766e9d9c809660e7236c423 /manifests/target |
Squashed 'puppet/modules/nagios/' content from commit e6fee3c
git-subtree-dir: puppet/modules/nagios
git-subtree-split: e6fee3c731f68ccf8b6add8ada2162c7ad2b8407
Diffstat (limited to 'manifests/target')
-rw-r--r-- | manifests/target/fqdn.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/target/fqdn.pp b/manifests/target/fqdn.pp new file mode 100644 index 00000000..31fc4b71 --- /dev/null +++ b/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 + } +} |