X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/59df18a47e1431952fcf82ca8ab318c2566370dc..601184bb64fce3feb74b9f4fd933649d05b92a22:/cookbooks/osqa/recipes/default.rb diff --git a/cookbooks/osqa/recipes/default.rb b/cookbooks/osqa/recipes/default.rb index 766f2f4b0..98707f9ba 100644 --- a/cookbooks/osqa/recipes/default.rb +++ b/cookbooks/osqa/recipes/default.rb @@ -61,7 +61,7 @@ node[:osqa][:sites].each do |site| cwd "#{directory}/osqa" user site_user group site_group - notifies :reload, resources(:service => "apache2") + notifies :reload, "service[apache2]" end subversion "#{directory}/osqa" do @@ -70,7 +70,7 @@ node[:osqa][:sites].each do |site| revision osqa_revision user site_user group site_group - notifies :run, resources(:execute => "osqa-migrate") + notifies :run, "execute[osqa-migrate]" end remote_directory "#{directory}/osqa/forum_modules/osmauth" do @@ -89,7 +89,7 @@ node[:osqa][:sites].each do |site| group site_group mode 0644 variables :directory => directory - notifies :reload, resources(:service => "apache2") + notifies :reload, "service[apache2]" end settings = edit_file "#{directory}/osqa/settings_local.py.dist" do |line| @@ -110,6 +110,6 @@ node[:osqa][:sites].each do |site| group site_group mode 0644 content settings - notifies :reload, resources(:service => "apache2") + notifies :reload, "service[apache2]" end end