Add ianw's centos6 git repo to all centos6 machines

We suspect that the centos6 git slowness is affecting git client
operations on our servers themselves (invoked via puppet vcsrepo).
This installs ianw's fixed version of git on all centos6 machines.

Change-Id: I8496e9fd8d07829fb341b9241ea20d3f49d455b4
This commit is contained in:
James E. Blair 2015-07-14 10:20:18 -07:00
parent 5f4fba8f45
commit db226cca89
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[iwienand-git-1237395]
name=Copr repo for git-1237395 owned by iwienand
baseurl=https://copr-be.cloud.fedoraproject.org/results/iwienand/git-1237395/epel-6-$basearch/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/iwienand/git-1237395/pubkey.gpg
enabled=1
enabled_metadata=1

View File

@ -352,6 +352,19 @@ class openstack_project::template (
source => 'puppet:///modules/openstack_project/centos-puppetlabs.repo',
replace => true,
}
# 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
file { '/etc/yum.repos.d/git-1237395.repo':
ensure => present,
owner => 'root',
group => 'root',
mode => '0444',
source => 'puppet:///modules/openstack_project/git-1237395.repo',
replace => true,
}
file { '/etc/yum.conf':
ensure => present,
owner => 'root',