Skip to content

Conversation

@twangboy
Copy link
Contributor

@twangboy twangboy commented Aug 21, 2024

What does this PR do?

Adds a new option named no_spaces to the ini.set_option function that allows the user to determine whether the separator (=) should be wrapped with spaces or not.

What issues does this PR fix or reference?

Fixes #33669

Previous Behavior

The module always wrapped the separator (=) with spaces.

New Behavior

The user can now choose not to wrap the separator with spaces.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

MurzNN and others added 3 commits August 20, 2024 12:04
Added new option `no_spaces` that controls adding spaces around separator in ini file.
Adds an new option named ``no_spaces`` to the ini.set_option function
that allows the user to deteremine whether the separator (``=``) should
be wrapped with spaces or not.
@twangboy twangboy requested a review from a team as a code owner August 21, 2024 20:23
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Fix 33669: Allow spaces or not in ini.set_option [3006.x] Fix 33669: Allow spaces or not in ini.set_option Aug 21, 2024
dmurphy18
dmurphy18 previously approved these changes Aug 21, 2024
@dwoz dwoz merged commit d0d8206 into saltstack:3006.x Aug 22, 2024
@twangboy twangboy deleted the fix_ini branch August 22, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants