User story #3848
closedTechnique "Generic Variable definition": Allow empty values
Description
Use case:
content of a file enforced - default for all groups:
toto
tata
${generic_variable_definition.GROUP1_ONLY}
${generic_variable_definition.GROUP2_ONLY}
${generic_variable_definition.GROUP3_ONLY}
Default Generic CFEngine variable definition contains:
GROUP1_ONLY=""
GROUP2_ONLY=""
GROUP3_ONLY=""
group1 Generic CFEngine variable definition contains:
GROUP1_ONLY="tutu"
group2 Generic CFEngine variable definition contains:
GROUP2_ONLY="tztz"
and so on...
This gives a better flexibility in the rules applied to group. If you have a group that contains all your nodes on which you apply the default variables definition, you can just apply per group variables definition with lower priority while still using only one "content file enforcement".
Updated by Olivier Mauras over 11 years ago
Here's the pull request:
https://github.com/Normation/rudder-techniques/pull/168
Updated by Vincent MEMBRÉ over 11 years ago
- Assignee set to Matthieu CERDA
I don't know if we have to handle the empty values in genericVariable technique, I think we forced people to add a value.
Maybe we should add a checkbox to handle empty values ?
A workaround for now, would be to use parameter with an empty value (need to validate that this is correctly working, but it's worth trying)
Jon, Matthieu, Nico, what do you think of handling empty variables in that Technique ?
Updated by Jonathan CLARKE over 11 years ago
- Status changed from New to Discussion
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
Updated by Vincent MEMBRÉ almost 11 years ago
- Assignee changed from Jonathan CLARKE to Vincent MEMBRÉ
- Priority changed from N/A to 2
- Target version set to 2.6.11
A pull request has been openend by Olivier: https://github.com/Normation/rudder-techniques/pull/168
I'll rebase it on 2.6 branch!
Updated by Vincent MEMBRÉ almost 11 years ago
- Target version changed from 2.6.11 to 2.6.12
Updated by Vincent MEMBRÉ almost 11 years ago
- Target version changed from 2.6.12 to 2.6.11
Updated by Vincent MEMBRÉ almost 11 years ago
- Subject changed from Technique enhancement proposal: Allow empty values in generic variables technique to Technique "Generic Variable definition": Allow empty values
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from Discussion to 12
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from 12 to Pending release
Updated by Vincent MEMBRÉ almost 11 years ago
- Project changed from Rudder to 24
- Category deleted (
Techniques)
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.6.11, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-March/000077.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog26
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE almost 10 years ago
- Project changed from 24 to Rudder
- Category set to Techniques