# 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 {
}
class { 'munin::client':
- port => $port,
- allow => $allow,
- host => $host,
+ port => $port,
+ allow => $allow,
+ host => $host,
+ listen => $listen,
}
munin::plugin { apt_all: ensure => present; }