Merge "Move the server class settings out of the ask class"

This commit is contained in:
Jenkins 2015-07-08 22:27:42 +00:00 committed by Gerrit Code Review
commit fb3fcd21dd
2 changed files with 6 additions and 7 deletions

View File

@ -802,8 +802,13 @@ node /^afs.*\..*\.openstack\.org$/ {
# Node-OS: precise
node 'ask.openstack.org' {
class { 'openstack_project::server':
iptables_public_tcp_ports => [22, 80, 443],
sysadmins => hiera('sysadmins', []),
}
class { 'openstack_project::ask':
sysadmins => hiera('sysadmins', []),
db_user => hiera('ask_db_user', 'ask'),
db_password => hiera('ask_db_password', 'XXX'),
redis_password => hiera('ask_redis_password', 'XXX'),

View File

@ -3,7 +3,6 @@
# ask.openstack.org Q&A support website
#
class openstack_project::ask (
$sysadmins = [],
$db_name = 'askbotdb',
$db_user = undef,
$db_password = undef,
@ -23,11 +22,6 @@ class openstack_project::ask (
$site_name = 'ask.openstack.org',
$solr_version = '4.7.2',
) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [22, 80, 443],
sysadmins => $sysadmins,
}
# solr search engine
class { 'solr':
mirror => 'http://apache.mesi.com.ar/lucene/solr',