diff options
author | Micah Anderson <micah@riseup.net> | 2010-02-22 17:11:54 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-02-22 17:11:54 -0500 |
commit | a5c6eebcc82e31e13599ee7c3085548feb9ab05d (patch) | |
tree | fd675737971c299ce9be8f1e13cdc1dcadc2c765 | |
parent | 77d3fd69850e38f64aa61ba3009328ac3519497b (diff) |
Fix $nagios_parents variable in README, the correct variable name is
plural as can be determined by looking at the only place it is used in
target.pp:
if ($nagios_parents != '') {
Nagios_host["${fqdn}"] { parents => $nagios_parents }
}
-rw-r--r-- | README | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -32,7 +32,7 @@ This just creates a host declaration for this host's "$ipaddress" fact. If the $ipaddress of your target is not the one you wish to modify, you can use "nagios::target::fqdn" instead, which will use the $fqdn fact of the host instead. -Set the $nagios_parent variable in the node scope for enabling the reachability +Set the $nagios_parents variable in the node scope for enabling the reachability features of nagios. If a node needs more customisation, use the native "@@nagios_host" type directly (the double-ampersand declares the object as an exported resource). @@ -159,8 +159,8 @@ $HOSTADDRESS$' node target { - # Monitor this host - $nagios_parent = 'router01' + # Monitor th () is host + $nagios_parents = 'router01' include nagios::target # monitor a service |