diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-01 14:40:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-01 14:40:23 -0300 |
commit | abaa0f6203cbb86623000ebb979c3926235fe2ff (patch) | |
tree | aa87ecf6255fd042f9143983c5698ac8f1d475a0 /manifests/defines/munin_node.pp | |
parent | af3bd9dc201b4b04eb1bbe0c5d6975dfaae02f0c (diff) | |
download | puppet-nodo-abaa0f6203cbb86623000ebb979c3926235fe2ff.tar.gz puppet-nodo-abaa0f6203cbb86623000ebb979c3926235fe2ff.tar.bz2 |
Load warning and critical should be configurable
Diffstat (limited to 'manifests/defines/munin_node.pp')
-rw-r--r-- | manifests/defines/munin_node.pp | 10 |
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 { |