X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cf074f83728ffa2fdc43cf10f0dca5a4b443a29e..45c0862be818c87ac9825ed36a7a2e9d3a1aab7c:/cookbooks/mediawiki/resources/site.rb diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index f27c150f5..476ce1699 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -24,7 +24,7 @@ default_action :create property :site, :kind_of => String, :name_property => true property :aliases, :kind_of => [String, Array] property :directory, :kind_of => String -property :version, :kind_of => String, :default => "1.37" +property :version, :kind_of => String, :default => "1.39" property :database_name, :kind_of => String, :required => true property :database_user, :kind_of => String, :required => [:create, :update] property :database_password, :kind_of => String, :required => [:create, :update] @@ -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