s3-mirror: fix missing trailing /
This is causing f31 updates to not be synced. The cron job reports: Subject: Cron <s3-mirror@mm-backend01> /usr/local/bin/lock-wrapper s3sync-updates-current "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/updates/31/Everything/x86_64/os" 2>&1 | /usr/local/bin/nag-once s3-updates-current.sh 1d 2>&1 Syntax: /usr/local/bin/s3-sync-path.sh /pub/path/to/sync/ NOTE! Path must end with a trailing / Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
14c85a0c55
commit
80477848ae
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
|||
|
||||
- name: s3sync cron - updates for current
|
||||
cron: name="s3sync-updates-current" minute="0" hour="3,9,15,21" user="s3-mirror"
|
||||
job='/usr/local/bin/lock-wrapper s3sync-updates-current "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/updates/{{ FedoraCycleNumber|int }}/Everything/x86_64/os" 2>&1 | /usr/local/bin/nag-once s3-updates-current.sh 1d 2>&1'
|
||||
job='/usr/local/bin/lock-wrapper s3sync-updates-current "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/updates/{{ FedoraCycleNumber|int }}/Everything/x86_64/os/" 2>&1 | /usr/local/bin/nag-once s3-updates-current.sh 1d 2>&1'
|
||||
cron_file=s3-updates-current.sh
|
||||
when: env != 'staging' and inventory_hostname.startswith('mm-backend01.')
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue