aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/munin.pp14
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; }