]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/hardware/manifests/sensors.pp
hardware sensors munin plugin restart munin-async daemon
[dsa-puppet.git] / modules / hardware / manifests / sensors.pp
1 class hardware::sensors {
2         if $::hw_can_temp_sensors {
3                 package { 'lm-sensors': ensure => installed, }
4                 munin::check { 'sensors_temp': script => 'sensors_' }
5         }
6         exec { 'invoke-rc.d munin-async restart':
7                 path        => '/usr/bin:/usr/sbin:/bin:/sbin',
8                 refreshonly => true
9         }
10 }