]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Setting up hddtemp_smartctl munin plugin
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 7 Jun 2013 18:32:11 +0000 (15:32 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 7 Jun 2013 18:32:11 +0000 (15:32 -0300)
manifests/base/physical.pp

index f2ab47708a342dbc0569ed1882a2641af7c79761..eae94a4dfb8a35f6ba4c9b69bcd6f056e66cf98e 100644 (file)
@@ -11,6 +11,11 @@ class nodo::base::physical inherits nodo::base::host {
       config => "user root\ngroup disk",
     }
 
+    munin::plugin { 'hddtemp_smartctl':
+      ensure => present,
+      config => "user root\ngroup disk\nenv.drives sda",
+    }
+
     package { 'lm-sensors':
       ensure => present,
     }