Project

General

Profile

Actions

Architecture #3347

closed

Architecture #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

Added by Nicolas CHARLES over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Compliance & node report
Target version:
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

Also available in: Atom PDF