From: Silvio Rhatto Date: Fri, 22 Mar 2013 23:39:39 +0000 (-0300) Subject: Adding listen parameter to munin::client as it might be different from host X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fe17582d5be21fa041e80aad6697d03ba717a7fb;p=puppet-nodo.git Adding listen parameter to munin::client as it might be different from host --- 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; }