Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Feature requests: Don't have backup deletion managed by puppet. #84

Closed
claflico opened this issue Jul 20, 2015 · 4 comments
Closed

Feature requests: Don't have backup deletion managed by puppet. #84

claflico opened this issue Jul 20, 2015 · 4 comments

Comments

@claflico
Copy link

I think that I can try to work on this if I get time but am putting it here just to document. The deletion of backups probably shouldn't be handled by puppet but rather a script stored locally. We had to disable the puppet agent on our stash server while troubleshooting the setenv.sh template issue and the backups almost filled the hard drive.

@mkrakowitzer
Copy link
Contributor

Are you saying that the stash module should not manage the cleanups of the backups? Or that instead of using the tidy type, we should use the cron type with a script to remove old backup files?

@claflico
Copy link
Author

Yeah, since there is already have a cron in place I would probably modify the backup_cmd to handle deleting the older files in addition to doing the backup. Not sure whether adding it to a bash script or just adding it to the command would be the better route though.

@mkrakowitzer
Copy link
Contributor

claflico, would you consider submitting a PR for this? I cant justify implementing it as I feel the current method is working well for my environments.

@mkrakowitzer
Copy link
Contributor

Closing this issue. Happy to reopen if you would consider submitting a patch for this feature.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants