bugfix: ssh is simpleconf w/o multiassignemnt

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-04-17 15:36:55 +02:00
parent 6875d373e8
commit e87af25d07

View file

@ -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