Project

General

Profile

Actions

Bug #7454

closed

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

Directives with double quotes in their name need to be escaped before going in rudder_directives.cf and rudder_expected_reports.csv

Added by Jonathan CLARKE over 8 years ago. Updated over 8 years ago.

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

Description

I just created a directive with double quotes in it, and got this CFEngine error:

⇨ /var/rudder/cfengine-community/inputs.new/rudder_directives.cf:36:66: error: Unknown attribute 'fun' for promise type 'methods' in bundle with type 'agent'
⇨ "Global configuration for all nodes/jon's directive for "fun"" usebundle => current_technique_report_info(testing);

We should escape double quotes in directive names in rudder_directives.st and rudder_system_directives.st.

Actions #1

Updated by Jonathan CLARKE over 8 years ago

  • Category changed from Techniques to System techniques
Actions #2

Updated by François ARMAND over 8 years ago

  • Status changed from New to In progress
Actions #3

Updated by François ARMAND over 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/974
Actions #4

Updated by François ARMAND over 8 years ago

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

Updated by Vincent MEMBRÉ over 8 years ago

  • Parent task set to #7114
Actions #7

Updated by Vincent MEMBRÉ over 8 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