From 951796f43c82e5eced9081aa87427a5a4c8212f4 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 13 Jun 2017 12:43:54 -0400 Subject: [PATCH] Remove npm / rubygem crontab entries We no longer mirror these files, it is time to stop our crontab. I'll be manually cleaning up these entries from our crontab on merged. We stopped mirroring both projects due to how large they were. Since we now have our reverse proxy cache for apache, it made more sense to add them to it. Specifically, rubygems added all gem files into a single top level directory, which caused issues with AFS. Change-Id: Id539d336814cce2ce18898526e561b8b6977f62f Signed-off-by: Paul Belanger --- .../manifests/mirror_update.pp | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/modules/openstack_project/manifests/mirror_update.pp b/modules/openstack_project/manifests/mirror_update.pp index e39a8a8409..a1bfb456a2 100644 --- a/modules/openstack_project/manifests/mirror_update.pp +++ b/modules/openstack_project/manifests/mirror_update.pp @@ -104,30 +104,6 @@ class openstack_project::mirror_update ( ] } - cron { 'rubygems-mirror': - minute => '*/5', - command => 'flock -n /var/run/rubygems/mirror.lock gem-mirror-update >>/var/log/rubygems/mirror.log 2>&1', - environment => 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin', - require => [ - File['/etc/afsadmin.keytab'], - File['/etc/gem.keytab'], - Class['openstack_project::gem_mirror'], - ] - } - - cron { 'npm-mirror-update': - user => $user, - minute => '*/5', - command => 'flock -n /var/run/npm-mirror-update/mirror.lock npm-mirror-update >>/var/log/npm-mirror-update/mirror.log 2>&1', - environment => 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin', - require => [ - File['/usr/local/bin/npm-mirror-update'], - File['/etc/afsadmin.keytab'], - File['/etc/npm.keytab'], - Class['openstack_project::npm_mirror'], - ] - } - file { '/etc/reprepro.keytab': owner => 'root', group => 'root',