diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-03-22 20:39:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-03-22 20:39:39 -0300 |
commit | fe17582d5be21fa041e80aad6697d03ba717a7fb (patch) | |
tree | fc201ce4f75e58fb2aa5db4781b0ea859cebf4b0 /manifests/subsystems/munin.pp | |
parent | 273f3b74870e156a069f4b656e474af10258405b (diff) | |
download | puppet-nodo-fe17582d5be21fa041e80aad6697d03ba717a7fb.tar.gz puppet-nodo-fe17582d5be21fa041e80aad6697d03ba717a7fb.tar.bz2 |
Adding listen parameter to munin::client as it might be different from host
Diffstat (limited to 'manifests/subsystems/munin.pp')
-rw-r--r-- | manifests/subsystems/munin.pp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/manifests/subsystems/munin.pp b/manifests/subsystems/munin.pp index f02ec7f..db50735 100644 --- a/manifests/subsystems/munin.pp +++ b/manifests/subsystems/munin.pp @@ -1,8 +1,9 @@ # 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) + $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', '*') ) { case $allow { @@ -10,9 +11,10 @@ define munin_node( } class { 'munin::client': - port => $port, - allow => $allow, - host => $host, + port => $port, + allow => $allow, + host => $host, + listen => $listen, } munin::plugin { apt_all: ensure => present; } |