User story #2945
closedThe checkGenericFileContent PT should enable the user to create the concerned file or not
Description
The checkGenericFileContent PT should enable the user to create the concerned file or not. (create => true/false), this is useful in case that you want to edit a file AFTER the package concerning it has been installed ... Or else systems like APT will choose to leave the file intact and leave a copy of the new file next to it. Not what you usually want ...
Updated by Nicolas PERRON about 12 years ago
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:bab6f70991a78111330f29738c4148429517f769.
Updated by Nicolas CHARLES about 12 years ago
- Status changed from Pending technical review to 10
This looks fine, thank you !
Updated by Matthieu CERDA about 12 years ago
I just diverted this change as the version 3.1 of the Technique, to prevent a Rudder breakage in case some users are already using 3.0 (this user story adds a boolean variable to the metadata.xml that is missing on already saved Directives, which breaks Rudder with a message like:
=> Exception caught during deployment process: Mandatory variable GENERIC_FILE_CONTENT_CREATE_BOOLEAN is empty, can not write checkGenericFileContent/3.0/checkGenericFileContent.cf
)
Updated by Jonathan CLARKE almost 12 years ago
- Status changed from 10 to Released
This is a good change, but the order of variables displayed in the Technique is most confusing: this new option appears in the middle of a set of options about other sections. I've opened #3061 for this, so validating it.