Bug #6621
closed
The file_ensure_line_present_in_ini_section bundle does not handle line editing
Added by Alexis Mousset over 9 years ago.
Updated over 2 years ago.
Description
The file_ensure_line_present_in_ini_section bundle can add a given line (like "name=value") to a section, but will not edit a line with the same key existing in the section.
We could use the CFEngine stdlib wich provides a set_variable_values_ini bundle handling this.
- Status changed from New to In progress
- Is duplicate of Bug #7312: add generic method to manage key = value in INI section added
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/258
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Rejected
- Status changed from Rejected to Pending release
- Is duplicate of deleted (Bug #7312: add generic method to manage key = value in INI section)
- Has duplicate Bug #7312: add generic method to manage key = value in INI section added
- Status changed from Pending release to Released
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
- Project changed from 41 to Rudder
- Category set to Generic methods
Also available in: Atom
PDF