From: Silvio Rhatto Date: Wed, 1 May 2013 17:40:23 +0000 (-0300) Subject: Load warning and critical should be configurable X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=abaa0f6203cbb86623000ebb979c3926235fe2ff;p=puppet-nodo.git Load warning and critical should be configurable --- 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 {