2016-05-12 18:09:49 +00:00
|
|
|
# == Class: openstack_project::storyboard::dev
|
|
|
|
#
|
|
|
|
class openstack_project::storyboard::dev(
|
|
|
|
$mysql_host = '',
|
|
|
|
$mysql_password = '',
|
|
|
|
$mysql_user = '',
|
|
|
|
$rabbitmq_user = 'storyboard',
|
|
|
|
$rabbitmq_password,
|
|
|
|
$ssl_cert_file_contents = undef,
|
|
|
|
$ssl_key_file_contents = undef,
|
|
|
|
$ssl_chain_file_contents = undef,
|
2016-12-13 17:20:05 +00:00
|
|
|
$openid_url = 'https://login.ubuntu.com/+openid',
|
2016-05-12 18:09:49 +00:00
|
|
|
$project_config_repo = '',
|
|
|
|
$hostname = $::fqdn,
|
|
|
|
$valid_oauth_clients = [$::fqdn],
|
|
|
|
$cors_allowed_origins = ["https://${::fqdn}"],
|
|
|
|
$sender_email_address = undef,
|
2018-04-18 20:44:04 +00:00
|
|
|
$default_url = undef,
|
2016-05-12 18:09:49 +00:00
|
|
|
) {
|
|
|
|
|
|
|
|
class { 'openstack_project::storyboard':
|
|
|
|
project_config_repo => $project_config_repo,
|
2016-06-21 23:21:21 +00:00
|
|
|
superusers =>
|
|
|
|
'puppet:///modules/openstack_project/storyboard/dev_superusers.yaml',
|
2016-05-12 18:09:49 +00:00
|
|
|
mysql_host => $mysql_host,
|
|
|
|
mysql_user => $mysql_user,
|
|
|
|
mysql_password => $mysql_password,
|
|
|
|
rabbitmq_user => $rabbitmq_user,
|
|
|
|
rabbitmq_password => $rabbitmq_password,
|
|
|
|
ssl_cert_file_contents => $ssl_cert_file_contents,
|
|
|
|
ssl_key_file_contents => $ssl_key_file_contents,
|
|
|
|
ssl_chain_file_contents => $ssl_chain_file_contents,
|
|
|
|
hostname => $hostname,
|
|
|
|
valid_oauth_clients => $valid_oauth_clients,
|
|
|
|
cors_allowed_origins => $cors_allowed_origins,
|
|
|
|
sender_email_address => $sender_email_address,
|
2018-04-18 20:44:04 +00:00
|
|
|
default_url => $default_url,
|
2016-05-12 18:09:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|