Bug #3642
closedCFEngine variables name in "CFEngine Generic Variable Definition" Directives no more support "dot" and need a migration script to "undot" existing ones
Description
By fixing http://www.rudder-project.org/redmine/issues/3599, we enforced correctly content of variable name in the technique CFEngine Generic Variable Definition
However, it appears that the "dot" in the variable name is not considered an error by CFEngine if in a bundle common, hence exactly in the case of this techniques ( http://www.rudder-project.org/redmine/issues/3640 )
So we must provide a script to "fix" this "regression" by replacing "dot" by underscore in the variable name in directives based on Create a migration script to "undot" variable names in CFEngine Generic Variable Definition, and of course in the directives using these variables
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 84 to 2.4.7
Updated by Nicolas CHARLES over 11 years ago
This ticket is quite tricky, as we have to find all the variable name definition for directives based on this technique, replace the dot by something ( underscore), and then replace in other directives using this variable name (and it may be part of the field)
Updated by Nicolas CHARLES over 11 years ago
Look at the solution applied in http://www.rudder-project.org/redmine/issues/3152
Updated by Nicolas CHARLES over 11 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 11 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/255
Francois, could you review this ?
https://github.com/Normation/rudder/pull/255
Updated by Nicolas CHARLES over 11 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 7f7ade4e1f56dc9754c3fa33aafbd216943d7d73.
Updated by Anonymous over 11 years ago
Applied in changeset 3ed594cf3a53572b16fc6448b21447dd679f28aa.
Updated by Nicolas PERRON over 11 years ago
- Subject changed from Create a migration script to "undot" variable names in CFEngine Generic Variable Definition to CFEngine variables name in "CFEngine Generic Variable Definition" Directives no more support "dot" and need a migration script to "undot" existing ones
Updated by Nicolas PERRON over 11 years ago
- Status changed from Pending release to Released
Updated by Nicolas PERRON over 11 years ago
This bug has been fixed in Rudder 2.4.7, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-July/000041.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog24
- Download information: http://www.rudder-project.org/foswiki/Download/