]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/resources/extension.rb
Use variable to enable readonly mode, as was used in the previous version of the...
[chef.git] / cookbooks / mediawiki / resources / extension.rb
index 437355ff170e0234d7776b035147f117eaaa22f6..b97fb7d330cf9efb83d7188da5fbe9534c2e1520 100644 (file)
@@ -32,7 +32,7 @@ attribute :update_site, :kind_of => [TrueClass, FalseClass], :default => true
 
 def after_created
   if update_site
-    notifies :update, "mediawik_site[site]"
+    notifies :update, "mediawiki_site[#{site}]"
   else
     site_directory = node[:mediawiki][:sites][site][:directory]