Increase sync frequency for OpenSUSE repo

The OpenStack Ansible project relies on Infra's OpenSUSE repo mirror
for their OpenSUSE gate checks. It is therefore important that the
mirror is somewhat up to date and reflects a recent state of the
official repository.

In order to make "recent" more recent this change drops the sync
frequency for the OpenSUSE repositories to every 2 hours down from
every 6 hours.

Change-Id: I94012c7981cc8fd8c8da6e5fb4af3d8e402c9758
This commit is contained in:
Nicolas Bock 2018-10-10 06:43:20 -06:00
parent cab657cf65
commit 484e2e1ef3
No known key found for this signature in database
GPG Key ID: 9E90013DEF7F5B7B
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ class openstack_project::mirror_update (
cron { 'opensuse mirror':
user => $user,
minute => fqdn_rand(45, 'opensuse-mirror'),
hour => '*/6',
hour => '*/2',
command => 'flock -n /var/run/opensuse-mirror.lock opensuse-mirror-update mirror.opensuse >>/var/log/opensuse-mirror.log 2>&1',
environment => 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin',
require => [