-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fixes #18705: calling file_key_value_present_in_ini_section on a yum repo definition loops #1271
Conversation
…repo definition loops
OK, merging this PR |
"section[0]" string => "section_test1"; | ||
"name[0]" string => "name1"; | ||
"value[0]" string => "value1"; | ||
"section[0]" string => "section_test1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate
|
||
# KEPT | ||
# ensure that if the value is NOT modified | ||
# but only in the selected region |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is most likely a copy-paste leftover
"ph3" usebundle => apply_gm("file_key_value_present_in_ini_section", @{args3}, "${init.status[3]}", "ph3", "enforce" ); | ||
"ph4" usebundle => apply_gm("file_key_value_present_in_ini_section", @{args4}, "${init.status[4]}", "ph4", "enforce" ); | ||
"ph5" usebundle => apply_gm("file_key_value_present_in_ini_section", @{args5}, "${init.status[5]}", "ph5", "enforce" ); | ||
"ph6" usebundle => apply_gm("file_key_value_present_in_ini_section", @{args6}, "${init.status[6]}", "ph6", "enforce" ); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding audit mode tests would be great
@@ -459,6 +459,8 @@ bundle edit_line set_variable_values_ini(tab, sectionName) | |||
# If the line is commented out with `#`, it gets uncommented first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# If the key is commented out ....
https://issues.rudder.io/issues/18705