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 about 5 years ago. Updated 4 months ago.

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

Updated by Nicolas CHARLES about 5 years ago

  • Related to Bug #9347: sudo management isn't update-safe added
Actions #2

Updated by Nicolas CHARLES about 5 years ago

  • Status changed from New to In progress
Actions #3

Updated by Nicolas CHARLES about 5 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
Actions #4

Updated by Nicolas CHARLES about 5 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:73eede1d33965d3da87c9402ecb8b1845a4b660f.

Actions #5

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Alexis Mousset 4 months ago

  • Target version changed from 0.x to ncf-0.x
Actions #7

Updated by Alexis Mousset 4 months ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF