Project

General

Profile

Actions

User story #2945

closed

The checkGenericFileContent PT should enable the user to create the concerned file or not

Added by Matthieu CERDA about 12 years ago. Updated almost 12 years ago.

Status:
Released
Priority:
2
Assignee:
Nicolas PERRON
Category:
Techniques
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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 ...


Related issues 1 (0 open1 closed)

Has duplicate Rudder - User story #2477: PT/technique "checkGenericFileContent" should have an option "Create file if it doesn't exist?"Rejected2012-04-27Actions
Actions #1

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.

Actions #2

Updated by Matthieu CERDA about 12 years ago

This looks fine. Thanks NPE.

Actions #3

Updated by Nicolas CHARLES about 12 years ago

  • Status changed from Pending technical review to 10

This looks fine, thank you !

Actions #4

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

)

Actions #5

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.

Actions

Also available in: Atom PDF