aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-01 14:40:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-01 14:40:23 -0300
commitabaa0f6203cbb86623000ebb979c3926235fe2ff (patch)
treeaa87ecf6255fd042f9143983c5698ac8f1d475a0 /manifests/defines
parentaf3bd9dc201b4b04eb1bbe0c5d6975dfaae02f0c (diff)
downloadpuppet-nodo-abaa0f6203cbb86623000ebb979c3926235fe2ff.tar.gz
puppet-nodo-abaa0f6203cbb86623000ebb979c3926235fe2ff.tar.bz2
Load warning and critical should be configurable
Diffstat (limited to 'manifests/defines')
-rw-r--r--manifests/defines/munin_node.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/defines/munin_node.pp b/manifests/defines/munin_node.pp
index 770d551..ecbc56f 100644
--- a/manifests/defines/munin_node.pp
+++ b/manifests/defines/munin_node.pp
@@ -1,9 +1,11 @@
# Define a munin node
define munin_node(
- $port = hiera('nodo::munin_node::port', '4949'),
- $allow = hiera('nodo::munin_node::allow', ''),
- $host = hiera('nodo::munin_node::host', $::fqdn),
- $listen = hiera('nodo::munin_node::listen', '*')
+ $port = hiera('nodo::munin_node::port', '4949'),
+ $allow = hiera('nodo::munin_node::allow', ''),
+ $host = hiera('nodo::munin_node::host', $::fqdn),
+ $listen = hiera('nodo::munin_node::listen', '*'),
+ $load_warning = hiera('nodo::munin_node::load_warning', '5'),
+ $load_critical = hiera('nodo::munin_node::load_critical', '10')
) {
case $allow {