Project

General

Profile

Actions

Bug #12147

closed

We cannot use file_enforce_content with a list and enforce=true

Added by Nicolas CHARLES about 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods - File Management
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

If we use a list as a parameter for file_enforce_content and "enforce" is set to true, only the last value will be in the resulting file
Using {} for the list parameter is not enough, as it does not map to a within the generic method

We should make the generic method work as advertised

Actions #1

Updated by Nicolas CHARLES about 3 years ago

  • Status changed from New to In progress
Actions #2

Updated by Nicolas CHARLES about 3 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/707
Actions #3

Updated by Rudder Quality Assistant about 3 years ago

  • Assignee changed from Alexis MOUSSET to Nicolas CHARLES
Actions #4

Updated by Nicolas CHARLES about 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis MOUSSET about 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.11, 4.2.5 and 4.3.0~rc3 which were released today.

Actions

Also available in: Atom PDF