This repository was archived by the owner on Jan 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 205205default [ 'stash' ] [ 'backup_diy' ] [ 'hipchat_token' ] = ''
206206
207207default [ 'stash' ] [ 'database' ] [ 'type' ] = 'mysql'
208- default [ 'stash' ] [ 'database' ] [ 'version' ] = '5.6'
208+ # When not set, the defaults from mysql cookbook are used.
209+ # See: https://github.com/chef-cookbooks/mysql/blob/v6.0.26/libraries/helpers.rb#L414-L432
210+ default [ 'stash' ] [ 'database' ] [ 'version' ] = nil
209211
210212default [ 'stash' ] [ 'database' ] [ 'host' ] = '127.0.0.1'
211213default [ 'stash' ] [ 'database' ] [ 'name' ] = 'stash'
Original file line number Diff line number Diff line change 88case settings [ 'database' ] [ 'type' ]
99when 'mysql'
1010 mysql2_chef_gem 'default' do
11- client_version settings [ 'database' ] [ 'version' ]
11+ client_version settings [ 'database' ] [ 'version' ] if settings [ 'database' ] [ 'version' ]
1212 action :install
1313 end
1414
1515 mysql_service 'default' do
16- version settings [ 'database' ] [ 'version' ]
16+ version settings [ 'database' ] [ 'version' ] if settings [ 'database' ] [ 'version' ]
1717 bind_address settings [ 'database' ] [ 'host' ]
1818 # See: https://github.com/chef-cookbooks/mysql/pull/361
1919 port settings [ 'database' ] [ 'port' ] . to_s
You can’t perform that action at this time.
0 commit comments