Update the mediawiki cookbook

This commit is contained in:
Greg Karékinian
2019-04-10 11:50:23 +02:00
parent 919f5db431
commit 1844422fb8
3 changed files with 5 additions and 5 deletions

View File

@@ -16,12 +16,12 @@ node.save unless Chef::Config[:solo]
db = node["mediawiki"]["db"]
mysql_client "default" do
version '5.7'
version '5.7' if node[:platform_version].to_f == 18.04
action :create
end
mysql_service db["instance_name"] do
version '5.7'
version '5.7' if node[:platform_version].to_f == 18.04
port db["port"]
initial_root_password db["root_password"]
action [:create, :start]