Fixes in git_backend class
Two minor changes here: - vhost_name need to be double quoted for vhost_name to be interpreted - create-cgitrepos script does not exist until jeepyb is installed, so requiring jeepyb class before calling that. Change-Id: I1596a76a67014d7a18fa85ff5fadb5cb0b8e2fb0
This commit is contained in:
parent
24ec114ece
commit
8ebf8e2953
@ -38,8 +38,8 @@ class openstack_project::git_backend (
|
||||
|
||||
class { '::cgit':
|
||||
vhost_name => $vhost_name,
|
||||
ssl_cert_file => '/etc/pki/tls/certs/${vhost_name}.pem',
|
||||
ssl_key_file => '/etc/pki/tls/private/${vhost_name}.key',
|
||||
ssl_cert_file => "/etc/pki/tls/certs/${vhost_name}.pem",
|
||||
ssl_key_file => "/etc/pki/tls/private/${vhost_name}.key",
|
||||
ssl_chain_file => '/etc/pki/tls/certs/intermediate.pem',
|
||||
ssl_cert_file_contents => $ssl_cert_file_contents,
|
||||
ssl_key_file_contents => $ssl_key_file_contents,
|
||||
@ -101,6 +101,7 @@ class openstack_project::git_backend (
|
||||
require => [
|
||||
File['/home/cgit/projects.yaml'],
|
||||
User['zuul'],
|
||||
Class['jeepyb'],
|
||||
],
|
||||
subscribe => File['/home/cgit/projects.yaml'],
|
||||
refreshonly => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user