Add Zanata AJP listener

We need to add the AJP listener port so that we can use Apache
as a proxy with Zanata.

Change-Id: I4073d8121cd9c2517f6064c6baf0f471e855f911
This commit is contained in:
stephane 2015-04-10 11:56:18 -07:00
parent 9b7a9aad52
commit 116dceb5b4
2 changed files with 3 additions and 0 deletions

View File

@ -742,6 +742,7 @@ node 'translate-dev.openstack.org' {
class { 'openstack_project::translate_dev':
sysadmins => hiera('sysadmins', []),
openid_url => 'https://openstackid-dev.openstack.org',
listeners => ['ajp'],
mysql_host => hiera('translate_dev_mysql_host', 'localhost'),
mysql_password => hiera('translate_dev_mysql_password', 'XXX'),
}

View File

@ -28,6 +28,7 @@ class openstack_project::translate_dev(
$ssl_cert_file_contents = '', # If left empty puppet will not create file.
$ssl_key_file_contents = '', # If left empty puppet will not create file.
$ssl_chain_file_contents = '', # If left empty puppet will not create file.
$listeners = [],
) {
class { 'openstack_project::server':
@ -41,6 +42,7 @@ class openstack_project::translate_dev(
zanata_db_username => $mysql_user,
zanata_db_password => $mysql_password,
zanata_openid_provider_url => $openid_url,
zanata_listeners => $listeners,
require => [
Class['openstack_project::server']
],