X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c08dfe1bf43b2f97baeb0631323256b1a13e18bf..afd343692a74c0b9c6fb82aeeb5f5c878ad3758e:/roles/tyan-s7010.rb diff --git a/roles/tyan-s7010.rb b/roles/tyan-s7010.rb index 583ad5d9b..30d13b774 100644 --- a/roles/tyan-s7010.rb +++ b/roles/tyan-s7010.rb @@ -3,12 +3,10 @@ description "Role applied to machines using the Tyan S710 motherboard" default_attributes( :hardware => { - :modules => [ - "i2c_i801", "jc42", "w83793" - ], + :modules => %w(i2c_i801 jc42 w83793), :sensors => { "jc42-*" => { - :temps => { + :temps => { "temp1" => { :max => 75 } } }, @@ -38,19 +36,19 @@ default_attributes( "temp6" => { :max => 78, :max_hyst => 73 } } } - }, + } }, :munin => { :plugins => { :ipmi_fans => { - :Sys3Front1 => { :graph => "no" }, - :Sys4Front2 => { :graph => "no" }, - :Sys5Rear1 => { :graph => "no" }, - :Sys6 => { :graph => "no" }, - :Sys7 => { :graph => "no" }, - :Sys8 => { :graph => "no" }, - :Sys9 => { :graph => "no" }, - :Sys10 => { :graph => "no" } + :Sys3Front1 => { :graph => "no", :warning => "0:" }, + :Sys4Front2 => { :graph => "no", :warning => "0:" }, + :Sys5Rear1 => { :graph => "no", :warning => "0:" }, + :Sys6 => { :graph => "no", :warning => "0:" }, + :Sys7 => { :graph => "no", :warning => "0:" }, + :Sys8 => { :graph => "no", :warning => "0:" }, + :Sys9 => { :graph => "no", :warning => "0:" }, + :Sys10 => { :graph => "no", :warning => "0:" } }, :ipmi_temp => { :CPU0belowTmax => { :critical => "10:" },