diff --git a/modules/jenkins/files/pip.conf b/modules/jenkins/files/pip.conf index 57f63b54d9..b44251dc7c 100644 --- a/modules/jenkins/files/pip.conf +++ b/modules/jenkins/files/pip.conf @@ -1,3 +1,3 @@ [global] index-url = http://pypi.openstack.org -extra-index-url = http://pypi.python.org/simple +extra-index-url = http://b.pypi.python.org/simple diff --git a/modules/jenkins/files/pydistutils.cfg b/modules/jenkins/files/pydistutils.cfg index 9d1de1569f..13dda2a10f 100644 --- a/modules/jenkins/files/pydistutils.cfg +++ b/modules/jenkins/files/pydistutils.cfg @@ -1,2 +1,2 @@ [easy_install] -index_url = http://pypi.openstack.org +index_url = http://b.pypi.python.org/simple diff --git a/modules/jenkins/manifests/jenkinsuser.pp b/modules/jenkins/manifests/jenkinsuser.pp index fd6b31ee26..d355cbda6a 100644 --- a/modules/jenkins/manifests/jenkinsuser.pp +++ b/modules/jenkins/manifests/jenkinsuser.pp @@ -52,7 +52,11 @@ class jenkins::jenkinsuser( } file { '/home/jenkins/.pydistutils.cfg': - ensure => absent, + ensure => present, + owner => 'jenkins', + group => 'jenkins', + mode => '0640', + source => 'puppet:///modules/jenkins/pydistutils.cfg', require => File['/home/jenkins'], }