Disable bandersnatch cron

We ran out of afs disk space for mirroring pypi with bandersnatch. If we
want to use the AFS mirror for pypi we will need to find a way to make
this sustainable by constraining growth. Until then disable updates.

Change-Id: I88a838cb28fee3bd16b2b0a26e614ac5c2f23241
This commit is contained in:
Clark Boylan 2018-07-18 14:47:30 -07:00
parent 02283b99c1
commit 6b015cae8c

View File

@ -93,6 +93,9 @@ class openstack_project::mirror_update (
}
cron { 'bandersnatch':
# Disabled until we sort out how to mirror without unbound growth.
# We may just switch to caching proxy long term.
ensure => absent,
user => $user,
minute => '*/5',
command => 'flock -n /var/run/bandersnatch/mirror.lock bandersnatch-mirror-update /var/log/bandersnatch/mirror.log',