aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/munin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/munin.pp')
-rw-r--r--manifests/subsystems/munin.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/subsystems/munin.pp b/manifests/subsystems/munin.pp
index a0a534e..a0eb7d9 100644
--- a/manifests/subsystems/munin.pp
+++ b/manifests/subsystems/munin.pp
@@ -9,10 +9,11 @@ define munin_node(
'': { fail("Please set nodo::munin_node::allow in your site config") }
}
- $munin_port = $port
- $munin_allow = $allow
- $munin_host = $host
+ class { 'munin::client':
+ port => $port,
+ allow => $allow,
+ host => $host,
+ }
- include munin::client
munin::plugin { apt_all: ensure => present; }
}