From cf41c42418ca99c61a9b814e15272ee820451f2c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 20 Sep 2024 21:14:20 +0900 Subject: [PATCH] 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 --- lib/puppet/util/ini_file.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/puppet/util/ini_file.rb b/lib/puppet/util/ini_file.rb index 3acbf7a4..67771013 100644 --- a/lib/puppet/util/ini_file.rb +++ b/lib/puppet/util/ini_file.rb @@ -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