Skip to content

Commit cf41c42

Browse files
committed
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 1915a39 commit cf41c42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)