Add a storyboard-dev server

This will help the storyboard devs dev things.
This machine will run trusty and will help us prep the storyboard.o.o
upgrade to trusty. After this machine is happily running, we'll do the
real upgrade. Also add manifest testing on trusty for storyboard.o.o
in preparation to upgrade it.

Several new hiera keys are required for this. Hopefully we can use
snakeoil ssl certificates.

Change-Id: I0b3080e810da24546ea9b87b2d45f7d8bdfadf3d
This commit is contained in:
Spencer Krum 2016-05-03 08:37:42 -07:00
parent 1d540a2ecb
commit c7043d4c96

View File

@ -620,6 +620,7 @@ node 'refstack.openstack.org' {
# A machine to run Storyboard
# Node-OS: precise
# Node-OS: trusty
node 'storyboard.openstack.org' {
class { 'openstack_project::storyboard':
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
@ -645,6 +646,33 @@ node 'storyboard.openstack.org' {
}
}
# A machine to run Storyboard devel
# Node-OS: trusty
node 'storyboard-dev.openstack.org' {
class { 'openstack_project::storyboard':
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
sysadmins => hiera('sysadmins', []),
mysql_host => hiera('storyboard_db_host', 'localhost'),
mysql_user => hiera('storyboard_db_user', 'username'),
mysql_password => hiera('storyboard_db_password'),
rabbitmq_user => hiera('storyboard_rabbit_user', 'username'),
rabbitmq_password => hiera('storyboard_rabbit_password'),
ssl_cert_file_contents => hiera('storyboard_ssl_cert_file_contents'),
ssl_key_file_contents => hiera('storyboard_ssl_key_file_contents'),
ssl_chain_file_contents => hiera('storyboard_ssl_chain_file_contents'),
hostname => $::fqdn,
valid_oauth_clients => [
$::fqdn,
'docs-draft.openstack.org',
],
cors_allowed_origins => [
"https://${::fqdn}",
'http://docs-draft.openstack.org',
],
sender_email_address => 'storyboard-dev@storyboard-dev.openstack.org',
}
}
# A machine to serve static content.
# Node-OS: precise
node 'static.openstack.org' {