Project

General

Profile

Actions

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.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
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)


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #9347: sudo management isn't update-safeReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF