]> git.openstreetmap.org Git - chef.git/commitdiff
Allow mediawiki mysql users to FLUSH TABLES for backup
authorTom Hughes <tom@compton.nu>
Thu, 26 Jan 2023 08:44:11 +0000 (08:44 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 26 Jan 2023 08:44:52 +0000 (08:44 +0000)
cookbooks/mediawiki/resources/site.rb

index 3d602616db1f0087dd986da5e97067efa68b7304..476ce169904768824bbdd88221fc98a000795e9f 100644 (file)
@@ -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