diff options
Diffstat (limited to 'manifests/defines/munin_node.pp')
-rw-r--r-- | manifests/defines/munin_node.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/defines/munin_node.pp b/manifests/defines/munin_node.pp index ecbc56f..aef5148 100644 --- a/manifests/defines/munin_node.pp +++ b/manifests/defines/munin_node.pp @@ -4,8 +4,7 @@ define munin_node( $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') + $config = hiera('nodo::munin_node::config', [ 'use_node_name yes', 'load.load.warning 5', 'load.load.critical 10' ]) ) { case $allow { @@ -17,6 +16,7 @@ define munin_node( allow => $allow, host => $host, listen => $listen, + config => $config, } munin::plugin { apt_all: ensure => present; } |