]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tyan-s7010.rb
SSL enable switch2osm and stateofthemap sites
[chef.git] / roles / tyan-s7010.rb
index 583ad5d9b5e787f6168c58b5f4602c1e155633d7..30d13b774a2599d434fd8db89bde77210089fb87 100644 (file)
@@ -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:" },