Actions
User story #3137
closedUsing certains CFEngine variables in directives may lead to unexpected errors in the promises generation
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
When using ${sys.fqhost} in the "On which host name is the virtual host to be reachable:" field for the apache2 technique, the promises cannot be generated, and we have the following error
=> Error when processing rule (0637971f-25dd-4286-93bd-7afcc5c9b1df/apacheServer:1.0/07ec78fa-5158-469c-960c-f5b825e29b18) with variables: Stream(APACHE_TRACEENABLE Should the server allow the use of the TRACE method (TraceEnable) : ArrayBuffer(Off), ?)
Exists on 2.4, probably happens on 2.3 also
The issue is that ${xxx.xxx} refers to internal Rudder variable, that rudder tries to resolves.
We should change this internal syntax to ${rudder.xxx.xxx}
Actions