system-config/modules/openstack_project/manifests/storyboard/dev.pp
Monty Taylor bab6fcad3c
Remove base.yaml things from openstack_project::server
Now that we've got base server stuff rewritten in ansible, remove the
old puppet versions.

Depends-On: https://review.openstack.org/588326
Change-Id: I5c82fe6fd25b9ddaa77747db377ffa7e8bf23c7b
2018-08-16 17:25:10 -05:00

41 lines
1.4 KiB
Puppet

# == 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,
$openid_url = 'https://login.ubuntu.com/+openid',
$project_config_repo = '',
$hostname = $::fqdn,
$valid_oauth_clients = [$::fqdn],
$cors_allowed_origins = ["https://${::fqdn}"],
$sender_email_address = undef,
$default_url = undef,
) {
class { 'openstack_project::storyboard':
project_config_repo => $project_config_repo,
superusers =>
'puppet:///modules/openstack_project/storyboard/dev_superusers.yaml',
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,
default_url => $default_url,
}
}