From c7043d4c96a296f9e0c839a3d51e81a48f22dcd3 Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Tue, 3 May 2016 08:37:42 -0700 Subject: [PATCH] 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 --- manifests/site.pp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/manifests/site.pp b/manifests/site.pp index c3e07fed84..259fba6805 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -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' {