Add GitPython to zuul.
Also, set up the git directory. Change-Id: Ia753c00df0665b3e8dec18083f113a900b168216 Reviewed-on: https://review.openstack.org/11446 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
1160068ce4
commit
9e8a187482
@ -13,6 +13,15 @@ class zuul (
|
||||
ensure => "present",
|
||||
}
|
||||
|
||||
# Packages that need to be installed from pip
|
||||
$pip_packages = ["GitPython"]
|
||||
|
||||
package { $pip_packages:
|
||||
ensure => latest, # we want the latest from these
|
||||
provider => pip,
|
||||
require => Class[pip]
|
||||
}
|
||||
|
||||
vcsrepo { "/opt/zuul":
|
||||
ensure => latest,
|
||||
provider => git,
|
||||
@ -57,6 +66,11 @@ class zuul (
|
||||
owner => 'jenkins'
|
||||
}
|
||||
|
||||
file { "/var/lib/zuul/git":
|
||||
ensure => "directory",
|
||||
owner => 'jenkins'
|
||||
}
|
||||
|
||||
file { "/etc/init.d/zuul/":
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
|
@ -12,3 +12,4 @@ sshkey=/var/lib/jenkins/.ssh/id_rsa
|
||||
layout_config=/etc/zuul/layout.yaml
|
||||
log_config=/etc/zuul/logging.conf
|
||||
state_dir=/var/lib/zuul
|
||||
git_dir=/var/lib/zuul/git
|
||||
|
Loading…
Reference in New Issue
Block a user