From 52e756a3fecb1e2d85f2a4d36ef0ef7576a6ef29 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 9 Jul 2015 10:26:15 +1000 Subject: [PATCH] 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 --- install_puppet.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install_puppet.sh b/install_puppet.sh index cee0cc5f22..4baa934fd8 100755 --- a/install_puppet.sh +++ b/install_puppet.sh @@ -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