Pass airshipit cgit config through to git_backend.pp

We need the ssl cert data passed through otherwise httpd refuses to
start.

Change-Id: Icc61860918059216da61f992e472531990e38219
This commit is contained in:
Clark Boylan 2018-05-20 16:42:45 -07:00
parent 73f3932919
commit 6e67f14f56
2 changed files with 6 additions and 0 deletions

View File

@ -639,6 +639,9 @@ node /^git\d+\.openstack\.org$/ {
git_zuul_ci_org_ssl_cert_file_contents => hiera('git_zuul_ci_org_ssl_cert_file_contents'),
git_zuul_ci_org_ssl_key_file_contents => hiera('git_zuul_ci_org_ssl_key_file_contents'),
git_zuul_ci_org_ssl_chain_file_contents => hiera('git_zuul_ci_org_ssl_chain_file_contents'),
git_airshipit_org_ssl_cert_file_contents => hiera('git_airshipit_org_ssl_cert_file_contents'),
git_airshipit_org_ssl_key_file_contents => hiera('git_airshipit_org_ssl_key_file_contents'),
git_airshipit_org_ssl_chain_file_contents => hiera('git_airshipit_org_ssl_chain_file_contents'),
behind_proxy => true,
selinux_mode => 'enforcing'
}

View File

@ -24,6 +24,9 @@ class openstack_project::git_backend (
$git_zuul_ci_org_ssl_cert_file_contents = '',
$git_zuul_ci_org_ssl_key_file_contents = '',
$git_zuul_ci_org_ssl_chain_file_contents = '',
$git_airshipit_org_ssl_cert_file_contents = '',
$git_airshipit_org_ssl_key_file_contents = '',
$git_airshipit_org_ssl_chain_file_contents = '',
$behind_proxy = false,
$project_config_repo = '',
$selinux_mode = 'enforcing',