Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(MODULES-5172) Backwards compatible ini_file.set_value #240

Merged
merged 1 commit into from
Jul 4, 2017

Conversation

mwhahaha
Copy link
Contributor

@mwhahaha mwhahaha commented Jul 3, 2017

The fix for MODULES-4932 (#239) was not backwards compatible as it changed the
number of required parameters for the set_value function in the ini_file
utility. This breaks anyone who were also extending the ini_setting
providers and leveraging this function. This change updates the
set_value function to still work with the previous 3 parameters while
supporting the new format with 4 parameters.

The fix for MODULES-4932 was not backwards compatible as it changed the
number of required parameters for the set_value function in the ini_file
utility.  This breaks anyone who were also extending the ini_setting
providers and leveraging this function. This change updates the
set_value function to still work with the previous 3 parameters while
supporting the new format with 4 parameters.
@tphoney
Copy link
Contributor

tphoney commented Jul 4, 2017

Nice fix / change, i appreciate the work. Agreed you have hit an edge case where you are extending ini_setting, most users will not run into this problem.

@tphoney tphoney merged commit 647cbe3 into puppetlabs:master Jul 4, 2017
@smortex smortex added the bugfix label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants