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 almost 9 years ago. Updated almost 9 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

Also available in: Atom PDF