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 <pabelanger@redhat.com>
This commit is contained in:
parent
aec4d5fb39
commit
951796f43c
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user