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:
parent
cab657cf65
commit
484e2e1ef3
@ -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 => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user