X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/4ffc2ea14e4ca0db54934cd79551446528bf3c26..6bf5013e5d298962c5a54bc395b53a5ec1a8a5ba:/cookbooks/postgresql/providers/munin.rb diff --git a/cookbooks/postgresql/providers/munin.rb b/cookbooks/postgresql/providers/munin.rb index 986c11f44..efa0a8b4d 100644 --- a/cookbooks/postgresql/providers/munin.rb +++ b/cookbooks/postgresql/providers/munin.rb @@ -28,7 +28,7 @@ action :create do database = new_resource.database if cluster - %w(cache connections locks querylength scans size transactions tuples).each do |plugin| + %w[cache connections locks querylength scans size transactions tuples].each do |plugin| munin_plugin "postgres_#{plugin}_#{database}:#{suffix}" do target "postgres_#{plugin}_" conf "munin.erb" @@ -45,7 +45,7 @@ end action :delete do database = new_resource.database - %w(cache connections locks querylength scans size transactions tuples).each do |plugin| + %w[cache connections locks querylength scans size transactions tuples].each do |plugin| munin_plugin "postgres_#{plugin}_#{database}:#{suffix}" do action :delete restart_munin false