update puppet-tails to have scripts in weblate vm
Originally created by @hefee on #15679 (Redmine)
This is a first bunch of changes of the weblate vm to have the script we wrot to be available in weblate vm.
- cron.sh is needed because otherwise the git repo can be blocked by other cron jobs, thats why we should streamline the functions into one script
- save-suggests.py is for creating a copy with all suggestions in weblate for the stating wiki
- update-weblate-components.py should replace the cron job, but currently it is not tested, that’s why I only added it and do not update cron.sh
On production weblate the different cronjobs block each other and the .git/lock is created. When we tried to update the cronjobs via crontab -e some service added the removed cronjobs again (is this the puppet client?) Can we disable this feature for some time to be able to test our new update-weblate-components.py script?
Feature Branch: https://salsa.debian.org/hefee/puppet-tails/tree/feature/integrate-weblate
Parent Task: tails/sysadmin#11759
Related issues
- Related to tails/tails#15568
- Related to tails/tails#15185
- Related to tails/sysadmin#15356
- Related to tails/sysadmin#15190
Edited by hefee