Merge "Run 'reprepro ubuntu' cron once ever 2 hours"

This commit is contained in:
Jenkins 2016-04-02 11:16:14 +00:00 committed by Gerrit Code Review
commit c47478f41d

View File

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