Give storyboard-dev its own superusers list

We'd like to enable additional superusers on the development
instance of StoryBoard, so make it a class parameter and copy the
production list to start out.

Change-Id: Ie6d59e23dba59c195eb58b949c623ac4be6bfa2d
This commit is contained in:
Jeremy Stanley 2016-06-21 23:21:21 +00:00
parent 7dc243b594
commit 517732d053
3 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,12 @@
- openid: https://login.launchpad.net/+id/eMmhAdr
email: slukjanov@mirantis.com
- openid: https://login.launchpad.net/+id/cWwF3rJ
email: corvus@gnu.org
- openid: https://login.launchpad.net/+id/4dfrAmY
email: mordred@inaugust.com
- openid: https://login.launchpad.net/+id/43rCcdx
email: fungi@yuggoth.org
- openid: https://login.launchpad.net/+id/DJtBT7D
email: clark.boylan@gmail.com
- openid: https://login.launchpad.net/+id/whpdRxT
email: lyz@princessleia.com

View File

@ -7,6 +7,8 @@ class openstack_project::storyboard(
$rabbitmq_user = 'storyboard',
$rabbitmq_password,
$sysadmins = [],
$superusers =
'puppet:///modules/openstack_project/storyboard/superusers.yaml',
$ssl_cert = undef,
$ssl_cert_file_contents = undef,
$ssl_key = undef,
@ -117,7 +119,7 @@ class openstack_project::storyboard(
# Load the superusers into the database
class { '::storyboard::load_superusers':
source => 'puppet:///modules/openstack_project/storyboard/superusers.yaml',
source => $superusers,
}
include bup

View File

@ -21,6 +21,8 @@ class openstack_project::storyboard::dev(
class { 'openstack_project::storyboard':
project_config_repo => $project_config_repo,
sysadmins => $sysadmins,
superusers =>
'puppet:///modules/openstack_project/storyboard/dev_superusers.yaml',
mysql_host => $mysql_host,
mysql_user => $mysql_user,
mysql_password => $mysql_password,