From fe17582d5be21fa041e80aad6697d03ba717a7fb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 22 Mar 2013 20:39:39 -0300 Subject: Adding listen parameter to munin::client as it might be different from host --- manifests/subsystems/munin.pp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'manifests/subsystems') 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; } -- cgit v1.2.3