dab09b9646
The "openstack_project" module must be included in order to reference the ssh public key variable. Change-Id: I7126bff62134d220d8e90e457788100eee04e04b Reviewed-on: https://review.openstack.org/31550 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Elizabeth Krumbach Joseph <lyz@princessleia.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
29 lines
948 B
Puppet
29 lines
948 B
Puppet
# == Class: openstack_project::jenkins_dev
|
|
#
|
|
class openstack_project::jenkins_dev (
|
|
$jenkins_ssh_private_key = '',
|
|
$sysadmins = []
|
|
) {
|
|
include openstack_project
|
|
|
|
class { 'openstack_project::server':
|
|
iptables_public_tcp_ports => [80, 443],
|
|
sysadmins => $sysadmins,
|
|
}
|
|
include bup
|
|
bup::site { 'rs-ord':
|
|
backup_user => 'bup-jenkins-dev',
|
|
backup_server => 'ci-backup-rs-ord.openstack.org',
|
|
}
|
|
class { '::jenkins::master':
|
|
vhost_name => 'jenkins-dev.openstack.org',
|
|
serveradmin => 'webmaster@openstack.org',
|
|
logo => 'openstack.png',
|
|
ssl_cert_file => '/etc/ssl/certs/ssl-cert-snakeoil.pem',
|
|
ssl_key_file => '/etc/ssl/private/ssl-cert-snakeoil.key',
|
|
ssl_chain_file => '',
|
|
jenkins_ssh_private_key => $jenkins_ssh_private_key,
|
|
jenkins_ssh_public_key => $openstack_project::jenkins_dev_ssh_key,
|
|
}
|
|
}
|