Actions
Architecture #3347
closedArchitecture #3334: Extends reporting system to allow differents values on differents nodes for the same Directive
Store the unexpanded version of variable in the expected reports
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
Effort required:
Name check:
Fix check:
Regression:
Description
Currently, the storing of expected reports handles only one set of values for a Directive/Rule/Component
However, as we plan to have differents values on different nodes for a given Directive, we need to expand our system to store :
- the actual value written in the promises
- the parameter that created this value
For instance, we'd have a Directive SSH, where we would set for the Port ${rudder.param.sshPort}, that would expand to 22 on all nodes, and 999 on a given node
We need to know that the given node must return 999 (and that the value comes from ${rudder.param.sshPort}, and that all the other should return 22
Actions