Skip to content

Commit 2e0848d

Browse files
kajinamitspan786
authored andcommitted
Honor default separator in set_config
... to use the consistent separator by default in all functions by default. Users can still override the separator by passing the separator argument when calling the function. Fixes: #544
1 parent 6a4fc97 commit 2e0848d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/puppet/util/ini_file.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def set_value(*args)
6363
when 3
6464
# Backwards compatible set_value function, See MODULES-5172
6565
(section_name, setting, value) = args
66+
separator = @key_val_separator
6667
when 4
6768
(section_name, setting, separator, value) = args
6869
end

0 commit comments

Comments
 (0)