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:
parent
5f4fba8f45
commit
db226cca89
8
modules/openstack_project/files/git-1237395.repo
Normal file
8
modules/openstack_project/files/git-1237395.repo
Normal 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
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user