summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-02-22 17:11:54 -0500
committerMicah Anderson <micah@riseup.net>2010-02-22 17:11:54 -0500
commita5c6eebcc82e31e13599ee7c3085548feb9ab05d (patch)
treefd675737971c299ce9be8f1e13cdc1dcadc2c765 /README
parent77d3fd69850e38f64aa61ba3009328ac3519497b (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 } }
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 2acf88d..b054235 100644
--- a/README
+++ b/README
@@ -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