]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/recipes/default.rb
Fix more rubocop detected style issues
[chef.git] / cookbooks / munin / recipes / default.rb
index 302a601f79fd0618367f5426c53f11a1d1c5b6fa..59dc6e45639973d04d0e8278f02a9ec6aee04a7c 100644 (file)
@@ -173,7 +173,7 @@ munin_plugin "http_loadtime" do
 end
 
 node[:network][:interfaces].each do |ifname, ifattr|
-  if ifattr[:encapsulation] == "Ethernet" and ifattr[:state] == "up"
+  if ifattr[:encapsulation] == "Ethernet" && ifattr[:state] == "up"
     munin_plugin "if_err_#{ifname}" do
       target "if_err_"
     end