-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #32175: Allow toggling task backup when cleaning them up #922
Conversation
Configuration for task-backups are also guided by https://github.com/theforeman/foreman-tasks/blob/master/config/foreman-tasks.yaml.example which is laid down by the RPM and not under Puppets control. This focuses on making it so that the cron job does not by default create backups as the environment variables override the base config. If a user chooses to run the cleanup by hand they have to adjust any specific configuration differences they would want. Putting https://github.com/theforeman/foreman-tasks/blob/master/config/foreman-tasks.yaml.example under puppet control seemed like a much bigger change and handling the |
Needs #923 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nit, otherwise 👍
@adamruzicka Take a look if you have time, in case you have concerns around this approach and reasoning |
I'm fine with this approach, +1 from me |
Changes the default behavior to disable task backup when enabling the task cleanup cron job. Users who still want backups kept on disk will need to set the parameter to true.
I'm debating whether this is an enhancement or breaking change. It does change behavior so technically it would be. On the other hand, it is a plugin. I also think the next release should be major anyway since I want to finish #862. |
👍 |
Changes the default behavior to disable task backup when enabling
the task cleanup cron job. Users who still want backups kept
on disk will need to set the parameter to true.