From 79ffbfb939005205aad40340b74fecfc79cdc463 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Jan 2013 15:16:49 -0200 Subject: Switching munin::client to parametrized class --- manifests/subsystems/munin.pp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'manifests/subsystems/munin.pp') 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; } } -- cgit v1.2.3