diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-28 17:46:02 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-28 17:46:02 -0200 |
commit | 021ea7edd7a14a94b8d45dd382ba59af4f310505 (patch) | |
tree | 0fd0026c79d49dc66e7b91342fed41c2127cffab /manifests/host.pp | |
parent | dc0ec159833b4be63a8aef3c4ae729aba259cd0e (diff) | |
download | puppet-nodo-021ea7edd7a14a94b8d45dd382ba59af4f310505.tar.gz puppet-nodo-021ea7edd7a14a94b8d45dd382ba59af4f310505.tar.bz2 |
Introducing nodo::host::use_munin
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 7 |
1 files changed, 5 insertions, 2 deletions
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', + } } } |