Project

General

Profile

Actions

Bug #9612

closed

Documentation of file_replace_lines is minimalist, and doesn't explain how to use it

Added by Nicolas CHARLES about 8 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Generic method file_replace_lines allows to capture with regex and replace, but unless one is an expert in cfengine, it's impossible to know how to use it
We should add a real example, notably document ${match.1}

Actions #1

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #2

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/ncf/pull/485
Actions #3

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released
  • Priority set to 0
Actions #5

Updated by Alexis Mousset over 2 years ago

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

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Documentation to Documentation
Actions

Also available in: Atom PDF