Merge "Use pip install instead of setup.py install"

This commit is contained in:
Jenkins 2013-11-27 00:25:06 +00:00 committed by Gerrit Code Review
commit a28df0e75a
8 changed files with 16 additions and 24 deletions

View File

@ -46,9 +46,8 @@ class elastic_recheck (
include pip include pip
exec { 'install_elastic-recheck' : exec { 'install_elastic-recheck' :
command => 'python setup.py install', command => 'pip install /opt/elastic-recheck',
cwd => '/opt/elastic-recheck', path => '/usr/local/bin:/usr/bin:/bin/',
path => '/bin:/usr/bin',
refreshonly => true, refreshonly => true,
notify => Service['elastic-recheck'], notify => Service['elastic-recheck'],
subscribe => Vcsrepo['/opt/elastic-recheck'], subscribe => Vcsrepo['/opt/elastic-recheck'],

View File

@ -60,9 +60,8 @@ class graphite(
} }
exec { 'install_whisper' : exec { 'install_whisper' :
command => 'python setup.py install', command => 'pip install /opt/whisper',
cwd => '/opt/whisper', path => '/usr/local/bin:/usr/bin:/bin/',
path => '/bin:/usr/bin',
refreshonly => true, refreshonly => true,
subscribe => Vcsrepo['/opt/whisper'], subscribe => Vcsrepo['/opt/whisper'],
} }

View File

@ -69,9 +69,8 @@ class jeepyb (
} }
exec { 'install_jeepyb' : exec { 'install_jeepyb' :
command => 'python setup.py install', command => 'pip install /opt/jeepyb',
cwd => '/opt/jeepyb', path => '/usr/local/bin:/usr/bin:/bin/',
path => '/bin:/usr/bin',
refreshonly => true, refreshonly => true,
require => Class['mysql::python'], require => Class['mysql::python'],
subscribe => Vcsrepo['/opt/jeepyb'], subscribe => Vcsrepo['/opt/jeepyb'],

View File

@ -28,9 +28,8 @@ class jenkins::job_builder (
} }
exec { 'install_jenkins_job_builder': exec { 'install_jenkins_job_builder':
command => 'python setup.py install', command => 'pip install /opt/jenkins_job_builder',
cwd => '/opt/jenkins_job_builder', path => '/usr/local/bin:/usr/bin:/bin/',
path => '/bin:/usr/bin',
refreshonly => true, refreshonly => true,
subscribe => Vcsrepo['/opt/jenkins_job_builder'], subscribe => Vcsrepo['/opt/jenkins_job_builder'],
} }

View File

@ -78,9 +78,8 @@ class nodepool (
} }
exec { 'install_nodepool' : exec { 'install_nodepool' :
command => 'python setup.py install', command => 'pip install /opt/nodepool',
cwd => '/opt/nodepool', path => '/usr/local/bin:/usr/bin:/bin/',
path => '/bin:/usr/bin',
refreshonly => true, refreshonly => true,
subscribe => Vcsrepo['/opt/nodepool'], subscribe => Vcsrepo['/opt/nodepool'],
require => Class['pip'], require => Class['pip'],

View File

@ -335,9 +335,8 @@ class openstack_project::static (
include pip include pip
exec { 'install_elastic-recheck' : exec { 'install_elastic-recheck' :
command => 'python setup.py install', command => 'pip install /opt/elastic-recheck',
cwd => '/opt/elastic-recheck', path => '/usr/local/bin:/usr/bin:/bin/',
path => '/bin:/usr/bin',
refreshonly => true, refreshonly => true,
subscribe => Vcsrepo['/opt/elastic-recheck'], subscribe => Vcsrepo['/opt/elastic-recheck'],
require => Class['pip'], require => Class['pip'],

View File

@ -33,9 +33,8 @@ class statusbot(
} }
exec { 'install_statusbot' : exec { 'install_statusbot' :
command => 'python setup.py install', command => 'pip install /opt/statusbot',
cwd => '/opt/statusbot', path => '/usr/local/bin:/usr/bin:/bin/',
path => '/bin:/usr/bin',
refreshonly => true, refreshonly => true,
subscribe => Vcsrepo['/opt/statusbot'], subscribe => Vcsrepo['/opt/statusbot'],
} }

View File

@ -87,9 +87,8 @@ class zuul (
} }
exec { 'install_zuul' : exec { 'install_zuul' :
command => 'python setup.py install', command => 'pip install /opt/zuul',
cwd => '/opt/zuul', path => '/usr/local/bin:/usr/bin:/bin/',
path => '/bin:/usr/bin',
refreshonly => true, refreshonly => true,
subscribe => Vcsrepo['/opt/zuul'], subscribe => Vcsrepo['/opt/zuul'],
require => Class['pip'], require => Class['pip'],