From 021ea7edd7a14a94b8d45dd382ba59af4f310505 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 28 Jan 2013 17:46:02 -0200 Subject: Introducing nodo::host::use_munin --- manifests/host.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'manifests/host.pp') diff --git a/manifests/host.pp b/manifests/host.pp index 88e9005..a38ed53 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -38,8 +38,11 @@ class nodo::host inherits nodo { } # Munin configuration - munin_node { "$hostname": - port => '4900', + $munin = hiera('nodo::host::use_munin', True) + if $munin == true { + munin_node { "$hostname": + port => '4900', + } } } -- cgit v1.2.3