Update Chef to 14.11.21 #27

Merged
greg merged 44 commits from chef_14 into master 2019-04-12 11:31:37 +00:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit 1844422fb8 - Show all commits

View File

@ -4,7 +4,7 @@ source 'https://supermarket.chef.io'
cookbook 'mediawiki',
git: 'https://github.com/67P/mediawiki-cookbook.git',
ref: '248cb14ccf5474cdf1367cee2c7782dbb80f7cac'
ref: '70ae159e8ecc0c2a2d8d94465cc4211e8deb0eaa'
cookbook 'redis',
git: 'https://github.com/phlipper/chef-redis.git',
ref: 'v0.5.6'

View File

@ -25,8 +25,8 @@ DEPENDENCIES
mariadb (= 0.3.1)
mediawiki
git: https://github.com/67P/mediawiki-cookbook.git
revision: 248cb14ccf5474cdf1367cee2c7782dbb80f7cac
ref: 248cb14
revision: 70ae159e8ecc0c2a2d8d94465cc4211e8deb0eaa
ref: 70ae159
mysql (~> 8.5.1)
mysql2_chef_gem (= 1.1.0)
nginx (= 9.0.0)

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]