aboutsummaryrefslogtreecommitdiff
path: root/manifests/physical.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-28 17:46:02 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-28 17:46:02 -0200
commit021ea7edd7a14a94b8d45dd382ba59af4f310505 (patch)
tree0fd0026c79d49dc66e7b91342fed41c2127cffab /manifests/physical.pp
parentdc0ec159833b4be63a8aef3c4ae729aba259cd0e (diff)
downloadpuppet-nodo-021ea7edd7a14a94b8d45dd382ba59af4f310505.tar.gz
puppet-nodo-021ea7edd7a14a94b8d45dd382ba59af4f310505.tar.bz2
Introducing nodo::host::use_munin
Diffstat (limited to 'manifests/physical.pp')
-rw-r--r--manifests/physical.pp11
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/physical.pp b/manifests/physical.pp
index 97e47a8..5f9ffb6 100644
--- a/manifests/physical.pp
+++ b/manifests/physical.pp
@@ -3,10 +3,13 @@ class nodo::physical inherits nodo::host {
include smartmontools
# SMART monitoring
- include munin::plugins::smart
- munin::plugin { "smart_sda":
- ensure => "smart_",
- config => "user root\ngroup disk",
+ $munin = hiera('nodo::host::use_munin', True)
+ if $munin == true {
+ include munin::plugins::smart
+ munin::plugin { 'smart_sda':
+ ensure => 'smart_',
+ config => "user root\ngroup disk",
+ }
}
# Removable media folder