]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/ipmi_local.yml.erb
Fix smart device detection for megaraid arrays
[chef.git] / cookbooks / hardware / templates / default / ipmi_local.yml.erb
index 4250a62eb338d6b3ccd070ce9534e3a714f3c92a..b6ebbd6d0de3f1e2691409851961a3a48ac1306b 100644 (file)
@@ -7,6 +7,11 @@ modules:
       - ipmi
       - dcmi
       - chassis
       - ipmi
       - dcmi
       - chassis
+    custom_args:
+      ipmi:
+<% node[:hardware][:ipmi][:custom_args].each do |arg| -%>
+        - <%= arg %>
+<% end -%>
     exclude_sensor_ids:
 <% node[:hardware][:ipmi][:excluded_sensors].each do |sensor| -%>
       - <%= sensor %>
     exclude_sensor_ids:
 <% node[:hardware][:ipmi][:excluded_sensors].each do |sensor| -%>
       - <%= sensor %>