Actions
User story #11145
closedAdd bundle in library to edit section, and enforce its content, as well as deleteing line matching regexp in all file
Effort required:
Name check:
Fix check:
Regression:
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)
Updated by Nicolas CHARLES over 7 years ago
- Related to Bug #9347: sudo management isn't update-safe added
Updated by Nicolas CHARLES over 7 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES over 7 years ago
- 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
Updated by Nicolas CHARLES over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset 73eede1d33965d3da87c9402ecb8b1845a4b660f.
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 2 years ago
- Target version changed from 0.x to ncf-0.x
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Actions