Update Chef to 14.11.21 #27
@ -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'
|
||||
|
@ -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)
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user