mirror of
https://github.com/inspec/inspec
synced 2024-11-15 01:17:08 +00:00
bugfix: deep merge mysql conf parameters
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
4852842bf6
commit
165c08799f
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
require 'utils/parseconfig'
|
||||
require 'utils/find_files'
|
||||
require 'utils/hash'
|
||||
require 'resources/mysql'
|
||||
|
||||
class MysqlConfEntry
|
||||
|
@ -75,7 +76,7 @@ class MysqlConf < Vulcano.resource(1)
|
|||
@content += raw_conf
|
||||
|
||||
params = ParseConfig.new(raw_conf).params
|
||||
@params.merge!(params)
|
||||
@params = @params.deep_merge(params)
|
||||
|
||||
to_read = to_read.drop(1)
|
||||
# see if there is more stuff to include
|
||||
|
|
Loading…
Reference in a new issue