Project

General

Profile

Actions

Bug #7408

closed

Architecture #7114: Make the bundlesequence be defined in a dedicated bundle

Architecture #7126: Add a new system variable for the "rudder_directives" bundle

Empty inputs list is generated with double quotes even if empty

Added by Jonathan CLARKE about 9 years ago. Updated almost 9 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Currently, on a new Rudder install, the file rudder_directives.cf contains this:

body file control {

  inputs => { "" 
   };

}

bundle agent rudder_directives {

  methods:

}

CFEngine interprets the "" to mean "${sys.inputs}" and then complains as follows:

   error: Can't parse directory '/var/rudder/cfengine-community/inputs.new/'.

This string should be empty (as in 0 characters) when no inputs are available, as follows:

  inputs => {  };


Subtasks 1 (0 open1 closed)

Bug #7410: Fix variable use in #7408ReleasedFrançois ARMAND2015-11-13Actions
Actions #1

Updated by Jonathan CLARKE about 9 years ago

  • Status changed from New to In progress
  • Assignee changed from François ARMAND to Jonathan CLARKE
Actions #2

Updated by Jonathan CLARKE about 9 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/960
Actions #3

Updated by Jonathan CLARKE about 9 years ago

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

Updated by Vincent MEMBRÉ almost 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.2.0~beta1 which was released today.

Actions

Also available in: Atom PDF