X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3a4b1c2078cd515e93a5f1bf8967f380fbd1646f..3a4d52bd4c0f8e6ae7679145846b7bc7845d8ace:/cookbooks/munin/recipes/default.rb diff --git a/cookbooks/munin/recipes/default.rb b/cookbooks/munin/recipes/default.rb index 302a601f7..59dc6e456 100644 --- a/cookbooks/munin/recipes/default.rb +++ b/cookbooks/munin/recipes/default.rb @@ -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