projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct variable name in systemd unit
[mirror/dsa-puppet.git]
/
modules
/
hardware
/
manifests
/
sensors.pp
diff --git
a/modules/hardware/manifests/sensors.pp
b/modules/hardware/manifests/sensors.pp
index
b52b95e
..
d835c93
100644
(file)
--- a/
modules/hardware/manifests/sensors.pp
+++ b/
modules/hardware/manifests/sensors.pp
@@
-2,5
+2,8
@@
class hardware::sensors {
if $::hw_can_temp_sensors {
package { 'lm-sensors': ensure => installed, }
munin::check { 'sensors_temp': script => 'sensors_' }
+ } else {
+ package { 'lm-sensors': ensure => purged, }
+ munin::check { 'sensors_temp': ensure => absent }
}
}