Question #4611
closedcopyGitFile technique: no purge ?
Description
I find weird for purge=false in the copyGitFile technique - https://github.com/Normation/rudder-techniques/blob/master/techniques/fileDistribution/copyGitFile/1.6/copyFileFromSharedFolder.st#L106
Particularly when you sync directories, it's pretty much mandatory to me to not let old files locally - old config removed from shared-files and the likes.
Updated by Jonathan CLARKE over 10 years ago
- Status changed from New to Discussion
- Target version set to 2.6.12
I agree that this should purge old files when running a recursive copy. If no one objects, let's change this behaviour.
Updated by Vincent MEMBRÉ over 10 years ago
What about having an option to choose if we want to purge or not old files ?
But i'm ok with changing the actual behavior to purge old files.
Updated by Olivier Mauras over 10 years ago
I wouldn't mind an option, but purging should be the default behaviour :)
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.6.12 to 2.6.13
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.6.13 to 2.6.14
Updated by Jonathan CLARKE over 10 years ago
- Target version changed from 2.6.14 to 2.6.16
Updated by Jonathan CLARKE over 10 years ago
- Target version changed from 2.6.16 to 2.6.17
Updated by Nicolas PERRON over 10 years ago
- Target version changed from 2.6.17 to 2.6.18
Updated by Matthieu CERDA about 10 years ago
- Target version changed from 2.6.18 to 2.6.19
Updated by Olivier Mauras about 10 years ago
It's been implemented in #5754 so let's just close this one don't you think ?
Updated by Vincent MEMBRÉ about 10 years ago
- Target version changed from 2.6.19 to 2.6.20
Updated by François ARMAND about 10 years ago
- Status changed from Discussion to Resolved
Olivier Mauras wrote:
It's been implemented in #5754 so let's just close this one don't you think ?
Yes, thanks!
(the pr is reviewed, sorry for the delay)