]> git.openstreetmap.org Git - chef.git/blobdiff - roles/vial.rb
Disable unconnected sensors on vial
[chef.git] / roles / vial.rb
index 82012eb3b2cbd3903f41712fa2bdccc05ce4f801..47447c4df1432ac0473349da97bb937379b57131 100644 (file)
@@ -18,6 +18,35 @@ default_attributes(
       }
     }
   },
+  :hardware => {
+    :modules => %w[nct6775],
+    :sensors => {
+      "nct6779-isa-0290" => {
+        :volts => {
+          "in1" => { :ignore => true },
+          "in4" => { :ignore => true },
+          "in5" => { :ignore => true },
+          "in6" => { :ignore => true },
+          "in9" => { :ignore => true },
+          "in10" => { :ignore => true },
+          "in11" => { :ignore => true },
+          "in12" => { :ignore => true },
+          "in13" => { :ignore => true },
+          "in14" => { :ignore => true }
+        },
+        :fans => {
+          "fan1" => { :ignore => true },
+          "fan2" => { :ignore => true }
+        },
+        :temps => {
+          "temp7" => { :ignore => true },
+          "temp8" => { :ignore => true },
+          "temp9" => { :ignore => true },
+          "temp10" => { :ignore => true }
+        }
+      }
+    }
+  },
   :munin => {
     :plugins => {
       :sensors_temp => {