From 8ebf8e2953dee79e0b3bde09e9d81bfb74992f0f Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Mon, 15 Jun 2015 13:22:52 +0200 Subject: [PATCH] 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 --- modules/openstack_project/manifests/git_backend.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/manifests/git_backend.pp b/modules/openstack_project/manifests/git_backend.pp index 1715c775d4..6344fc22a5 100644 --- a/modules/openstack_project/manifests/git_backend.pp +++ b/modules/openstack_project/manifests/git_backend.pp @@ -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,