User story #11145
closed
Add bundle in library to edit section, and enforce its content, as well as deleteing line matching regexp in all file
Added by Nicolas CHARLES over 7 years ago.
Updated over 2 years ago.
Description
To edit sudoer file, we need to edit section
The available method in ncf_lib are not enough, so we need a new one:
cf_ensure_section_content_and_purge_type(section_start, section_end, content, insert_type, content_to_delete)
- Related to Bug #9347: sudo management isn't update-safe added
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/ncf/pull/615
- Status changed from Pending technical review to Pending release
Applied in changeset commit:73eede1d33965d3da87c9402ecb8b1845a4b660f.
- Status changed from Pending release to Released
- Target version changed from 0.x to ncf-0.x
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Also available in: Atom
PDF