]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/providers/site.rb
Qualify property access
[chef.git] / cookbooks / mediawiki / providers / site.rb
index 24667e37d01d9ffca861b1a884bae7d066521902..f637271cad398038b5b33024d3cdfcab00e97fcf 100644 (file)
@@ -62,7 +62,7 @@ action :create do
     not_if do
       ::File.exist?("#{mediawiki_directory}/LocalSettings-install.php")
     end
-    notifies :create, "ruby_block[rename-installer-localsettings]", :immediately
+    notifies :run, "ruby_block[rename-installer-localsettings]", :immediately
   end
 
   execute "#{mediawiki_directory}/maintenance/update.php" do
@@ -108,7 +108,7 @@ action :create do
 
   # Safety catch if git doesn't update but install.php hasn't run
   ruby_block "catch-installer-localsettings-run" do
-    action :create
+    action :run
     block do
       #
     end