Add git https slowness work-around for RHEL/Centos 6

This COPR repo has an updated git package that includes the single
patch discussed in [1] to aleviate slowness in https cloning.  This
has been tested with [2] where the gate-infra-puppet-apply-centos6 job
has been stable.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1237395
[2] https://review.openstack.org/198177

Change-Id: I29153ca05c537e6cd61365b3a24cc6854f6d7100
This commit is contained in:
Ian Wienand 2015-07-09 10:26:15 +10:00
parent 0dd464d175
commit 52e756a3fe

View File

@ -121,6 +121,12 @@ EOF
yum --enablerepo=epel-bootstrap -y install epel-release
rm -f /etc/yum.repos.d/epel-bootstrap.repo
# This git package includes a small work-around for slow https
# cloning performance, as discussed in redhat bz#1237395. Should
# be fixed in 6.8
curl -o /etc/yum.repos.d/git-1237395.repo \
https://copr.fedoraproject.org/coprs/iwienand/git-1237395/repo/epel-6/iwienand-git-1237395-epel-6.repo
# NOTE: we preinstall lsb_release to ensure facter sets lsbdistcodename
yum install -y redhat-lsb-core git puppet