Architecture #7580
closed
Remove unused tracking variable in distributePolicy
Added by François ARMAND almost 9 years ago.
Updated almost 9 years ago.
Category:
System techniques
Description
In distributePolicy/1.0 -> metadata.xml, we have:
<TRACKINGVARIABLE>
<SAMESIZEAS>CMDBENDPOINT</SAMESIZEAS>
</TRACKINGVARIABLE>
Which is VERY strange.
It does not seems to have the least impact on generated code, so at best, it is dead code, at worst a bug.
We should remove it 3.2, but let it in previous release in the case it is somehow used.
@Janos Matya: this a complexe feature, a reminiscence from the past, that should never have been done like that. The need is to be able to link to multivalued variable so that you can iter on there elements together, even when the arity of the two don't matches and so you need to do some flattening on one (typical example: I have a list of elements with sub elements, and I need to access the parent when processing a children).
Basically, what you need to know is: don't do that. Use templates. Or CFEngine arrays.
- Status changed from New to In progress
- Assignee changed from Nicolas CHARLES to François ARMAND
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/816
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Subject changed from remove unused tracking variable in distributePolicy to Remove unused tracking variable in distributePolicy
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.2.0~rc2 which was released today.
Also available in: Atom
PDF