]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tyan-s7010.rb
Ignore some unconnected IPMI fan sensors
[chef.git] / roles / tyan-s7010.rb
index 6b188e7ff29ddd3a1b99f12b1786789fead27b83..ef08ff121b3878ce0947b7b277c9d181941723df 100644 (file)
@@ -1,9 +1,12 @@
 name "tyan-s7010"
-description "Role applied to machines using the Tyan S710 motherboard"
+description "Role applied to machines using the Tyan S7010 motherboard"
 
 default_attributes(
   :hardware => {
-    :modules => %w(i2c_i801 jc42 w83793),
+    :ipmi => {
+      :excluded_sensors => [13, 14, 15, 16, 17, 18, 19, 20]
+    },
+    :modules => %w[i2c_i801 jc42 w83793],
     :sensors => {
       "jc42-*" => {
         :temps => {
@@ -54,7 +57,7 @@ default_attributes(
         :CPU0belowTmax => { :critical => "10:" },
         :CPU1belowTmax => { :critical => "10:" }
       },
-      :sensors_volts => {
+      :sensors_volt => {
         "VCoreA" => { :warning => "0.70:1.42", :critical => "0.70:1.42" },
         "VCoreB" => { :warning => "0.70:1.42", :critical => "0.70:1.42" },
         "in2" => { :warning => "0.00:2.05", :critical => "0.00:2.05" },