mirror of
https://github.com/inspec/inspec
synced 2024-11-26 06:30:26 +00:00
bugfix: ssh is simpleconf w/o multiassignemnt
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
6875d373e8
commit
e87af25d07
1 changed files with 4 additions and 1 deletions
|
@ -42,7 +42,10 @@ class SshConf
|
|||
|
||||
def read_content
|
||||
@content = read_file(@conf_path)
|
||||
@params = SimpleConfig.new(@content, assignment_re: /^\s*(\S+?)\s+(.*?)\s*$/).params
|
||||
@params = SimpleConfig.new(@content,
|
||||
assignment_re: /^\s*(\S+?)\s+(.*?)\s*$/,
|
||||
multiple_values: false
|
||||
).params
|
||||
@content
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue