X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bb3cefead93fa6d05987cc19801e6a87672ddf18..cc57b9e9a6f06eb2fdce5ed83aa5f9ed6cd90cad:/cookbooks/mediawiki/resources/site.rb diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index 34bec44e0..476ce1699 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -61,6 +61,7 @@ action :create do mysql_user "#{new_resource.database_user}@localhost" do password new_resource.database_password + reload true end mysql_database new_resource.database_name do @@ -531,6 +532,7 @@ action :update do cwd mediawiki_directory user node[:mediawiki][:user] group node[:mediawiki][:group] + timeout 86400 end end