From b70423228d75c52c1fc0678631bf1b56ddd6218f Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 18 Nov 2016 14:35:38 -0800 Subject: [PATCH] Allow for many translate-dev servers As part of the work to redeploy Zanata on Xenial for newer Java lets modernize the deployment a bit and allow for arbitrary numbered servers. Change-Id: Iee1192fc4e4798ccbeb9bad98a53fb3896d02a5c --- manifests/site.pp | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/manifests/site.pp b/manifests/site.pp index 6b06f231b5..0ac2be9480 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -1281,18 +1281,21 @@ node 'translate.openstack.org' { } # Node-OS: trusty -node 'translate-dev.openstack.org' { +# Node-OS: xenial +node /^translate-dev\d*\.openstack\.org$/ { + $group = "translate-dev" class { 'openstack_project::translate_dev': - sysadmins => hiera('sysadmins', []), - admin_users => 'aeng,camunoz,cboylan,daisyycguo,infra,jaegerandi,lyz,mordred,stevenk', - openid_url => 'https://openstackid-dev.openstack.org', - listeners => ['ajp'], - from_address => 'noreply@openstack.org', - mysql_host => hiera('translate_dev_mysql_host', 'localhost'), - mysql_password => hiera('translate_dev_mysql_password'), - zanata_server_user => hiera('proposal_zanata_user'), - zanata_server_api_key => hiera('proposal_zanata_api_key'), - project_config_repo => 'https://git.openstack.org/openstack-infra/project-config', + sysadmins => hiera('sysadmins', []), + admin_users => 'aeng,camunoz,cboylan,daisyycguo,infra,jaegerandi,lyz,mordred,stevenk', + openid_url => 'https://openstackid-dev.openstack.org', + listeners => ['ajp'], + from_address => 'noreply@openstack.org', + mysql_host => hiera('translate_dev_mysql_host', 'localhost'), + mysql_password => hiera('translate_dev_mysql_password'), + zanata_server_user => hiera('proposal_zanata_user'), + zanata_server_api_key => hiera('proposal_zanata_api_key'), + project_config_repo => 'https://git.openstack.org/openstack-infra/project-config', + vhost_name => 'translate-dev.openstack.org', } }