Skip to content

Commit

Permalink
Honor default separator in set_config
Browse files Browse the repository at this point in the history
... 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
  • Loading branch information
kajinamit committed Sep 20, 2024
1 parent 94a3c57 commit 1bd55cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/util/ini_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def set_value(*args)
when 3
# Backwards compatible set_value function, See MODULES-5172
(section_name, setting, value) = args
separator = @key_val_separator
when 4
(section_name, setting, separator, value) = args
end
Expand Down

0 comments on commit 1bd55cb

Please sign in to comment.