]> git.openstreetmap.org Git - chef.git/blob - cookbooks/hardware/templates/default/sensors.conf.erb
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[chef.git] / cookbooks / hardware / templates / default / sensors.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2 <% node[:hardware][:sensors].sort.each do |chip,sensors| -%>
3
4 chip "<%= chip %>"
5 <%= Chef::Sensors.attributes sensors[:volts], [:min, :max] -%>
6 <%= Chef::Sensors.attributes sensors[:fans], [:min] -%>
7 <%= Chef::Sensors.attributes sensors[:temps], [:max, :max_hyst, :crit, :crit_hyst] -%>
8 <%= Chef::Sensors.attributes sensors[:power], [:interval] -%>
9 <% end -%>