Merge "Updated OpenStackId configuration"

This commit is contained in:
Jenkins 2015-12-08 15:16:23 +00:00 committed by Gerrit Code Review
commit cb80fe3799
3 changed files with 44 additions and 28 deletions

View File

@ -917,6 +917,10 @@ node 'openstackid.org' {
ssl_cert_file_contents => hiera('openstackid_ssl_cert_file_contents'),
ssl_key_file_contents => hiera('openstackid_ssl_key_file_contents'),
ssl_chain_file_contents => hiera('openstackid_ssl_chain_file_contents'),
id_recaptcha_public_key => hiera('openstackid_recaptcha_public_key'),
id_recaptcha_private_key => hiera('openstackid_recaptcha_private_key'),
app_url => 'https://openstackid.org',
app_key => hiera('openstackid_app_key'),
}
}
@ -937,6 +941,10 @@ node 'openstackid-dev.openstack.org' {
ssl_cert_file_contents => hiera('openstackid_dev_ssl_cert_file_contents'),
ssl_key_file_contents => hiera('openstackid_dev_ssl_key_file_contents'),
ssl_chain_file_contents => hiera('openstackid_dev_ssl_chain_file_contents'),
id_recaptcha_public_key => hiera('openstackid_dev_recaptcha_public_key'),
id_recaptcha_private_key => hiera('openstackid_dev_recaptcha_private_key'),
app_url => 'https://openstackid-dev.openstack.org',
app_key => hiera('openstackid_dev_app_key'),
}
}

View File

@ -38,7 +38,9 @@ class openstack_project::openstackid_dev (
$id_environment = 'dev',
$ssl_cert_file_contents = '',
$ssl_key_file_contents = '',
$ssl_chain_file_contents = ''
$ssl_chain_file_contents = '',
$app_url = '',
$app_key = '',
) {
realize (
@ -76,6 +78,8 @@ class openstack_project::openstackid_dev (
ssl_cert_file_contents => $ssl_cert_file_contents,
ssl_key_file_contents => $ssl_key_file_contents,
ssl_chain_file_contents => $ssl_chain_file_contents,
app_url => $app_url,
app_key => $app_key,
}
# redis (custom module written by tipit)

View File

@ -40,6 +40,8 @@ class openstack_project::openstackid_prod (
$ssl_key_file_contents = '',
$ssl_chain_file_contents = '',
$release = '1.0.7',
$app_url = '',
$app_key = '',
) {
class { 'openstack_project::server':
@ -73,6 +75,8 @@ class openstack_project::openstackid_prod (
ssl_key_file_contents => $ssl_key_file_contents,
ssl_chain_file_contents => $ssl_chain_file_contents,
openstackid_release => $release,
app_url => $app_url,
app_key => $app_key,
}
# redis (custom module written by tipit)