Project

General

Profile

Actions

Bug #6621

closed

The file_ensure_line_present_in_ini_section bundle does not handle line editing

Added by Alexis Mousset almost 9 years ago. Updated almost 2 years ago.

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

Description

The file_ensure_line_present_in_ini_section bundle can add a given line (like "name=value") to a section, but will not edit a line with the same key existing in the section.

We could use the CFEngine stdlib wich provides a set_variable_values_ini bundle handling this.


Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #7312: add generic method to manage key = value in INI sectionRejectedBenoît PECCATTEActions
Actions

Also available in: Atom PDF