aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/munin.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 15:16:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 15:16:49 -0200
commit79ffbfb939005205aad40340b74fecfc79cdc463 (patch)
treeb832ac0ed365c97414e099fbe2f141de288020d2 /manifests/subsystems/munin.pp
parent1185aa8141a444d9e3c1b6aa9a38ea21a2ce3ea0 (diff)
downloadpuppet-nodo-79ffbfb939005205aad40340b74fecfc79cdc463.tar.gz
puppet-nodo-79ffbfb939005205aad40340b74fecfc79cdc463.tar.bz2
Switching munin::client to parametrized class
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; }
}