
In v3, we need to be able to use some variables from zuul/web.pp in the vhost template, but the vhost is created in ::zuul because of how v2 worked. Split the config, and split where we're defining it so that in the next patch we can make use of variables from zuul/web.pp. Change-Id: I3e1c72bb773be050854f5563d09f6c19af8bc6dc Depends-On: https://review.openstack.org/557085
26 lines
688 B
Puppet
26 lines
688 B
Puppet
class { '::zuul':
|
|
zuul_ssh_private_key => file('/tmp/zuul-ssh-keys/ssh_rsa_key'),
|
|
zuulv3 => true,
|
|
python_version => 3,
|
|
}
|
|
|
|
class { '::zuul::scheduler':
|
|
layout_dir => '/etc/project-config/zuul',
|
|
python_version => 3,
|
|
use_mysql => true,
|
|
}
|
|
|
|
class { '::zuul::merger': }
|
|
class { '::zuul::executor': }
|
|
class { '::zuul::web':
|
|
tenant_name => 'openstack',
|
|
ssl_cert_file_contents => file('/etc/ssl/certs/ssl-cert-snakeoil.pem'),
|
|
ssl_key_file_contents => file('/etc/ssl/private/ssl-cert-snakeoil.key'),
|
|
}
|
|
|
|
class { '::zuul::fingergw': }
|
|
|
|
class { '::zuul::known_hosts':
|
|
known_hosts_content => 'known_hosts_content',
|
|
}
|