]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ridgeback.rb
Merge duplicate hash entries
[chef.git] / roles / ridgeback.rb
index 28afa0d9d4a67b0cabef4503ab77059a4255765e..e8d1a4ff4c1fdf1fdad07898fb09f1e344f9ad57 100644 (file)
@@ -2,6 +2,26 @@ name "ridgeback"
 description "Master role applied to ridgeback"
 
 default_attributes(
+  :munin => {
+    :plugins => {
+      :ipmi_fans => {
+        :Fan4 => { :graph => "no", :warning => "0:" },
+        :Fan5 => { :graph => "no", :warning => "0:" },
+        :Fan6 => { :graph => "no", :warning => "0:" },
+        :Fan7CPU1 => { :graph => "no", :warning => "0:" }
+      },
+      :smart_sda => {
+        :smartctl_exit_status => {
+          :warning => 8
+        }
+      },
+      :smart_sdb => {
+        :smartctl_exit_status => {
+          :warning => 8
+        }
+      }
+    }
+  },
   :networking => {
     :interfaces => {
       :external_ipv4 => {
@@ -40,20 +60,6 @@ default_attributes(
       "gorynych.openstreetmap.org",
       "simurgh.openstreetmap.org"
     ]
-  },
-  :munin => {
-    :plugins => {
-      :smart_sda => {
-        :smartctl_exit_status => {
-          :warning => 8
-        }
-      },
-      :smart_sdb => {
-        :smartctl_exit_status => {
-          :warning => 8
-        }
-      }
-    }
   }
 )