]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/civicrm/recipes/default.rb
Convert all notify/subscribe calls to the new style syntax
[chef.git] / cookbooks / civicrm / recipes / default.rb
index 28e2d77794ffaab78e6dcedafff842d5496c43a9..58cea555e2b2cbf9795aa8198741e7482997edbd 100644 (file)
@@ -124,7 +124,7 @@ execute "civicrm-load-data" do
   cwd "/usr/share/drupal7/sites/all/modules/civicrm"
   user "root"
   group "root"
-  notifies :run, resources(:execute => "civicrm-load-acl")
+  notifies :run, "execute[civicrm-load-acl]"
 end
 
 execute "civicrm-load" do
@@ -133,7 +133,7 @@ execute "civicrm-load" do
   cwd "/usr/share/drupal7/sites/all/modules/civicrm"
   user "root"
   group "root"
-  notifies :run, resources(:execute => "civicrm-load-data")
+  notifies :run, "execute[civicrm-load-data]"
 end
 
 execute "civicrm-gencode" do
@@ -142,7 +142,7 @@ execute "civicrm-gencode" do
   user "root"
   group "root"
   creates "#{civicrm_directory}/civicrm-version.php"
-  notifies :run, resources(:execute => "civicrm-load")
+  notifies :run, "execute[civicrm-load]"
 end
 
 directory "/data/crm.osmfoundation.org/civicrm/en_US" do