Puppet Class: zuul
- Defined in:
- modules/zuul/manifests/init.pp
Overview
OpenStack zuul
A Jenkins/Gerrit gateway written in python. This is a drop in replacement for Jenkins “Gerrit Trigger” plugin.
Class: zuul
Install Zuul
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'modules/zuul/manifests/init.pp', line 10
class zuul ( ){
include zuul::user
ensure_packages(['python2.7', 'virtualenv', 'make'])
# Both merger and server require the zuul class
if !defined(Scap::Target['zuul/deploy']) {
scap::target { 'zuul/deploy':
deploy_user => 'deploy-zuul',
}
}
file { '/var/log/zuul':
ensure => directory,
owner => 'zuul',
group => 'adm',
mode => '0755',
}
file { '/usr/local/bin/zuul':
ensure => link,
target => '/srv/deployment/zuul/venv/bin/zuul',
}
}
|