Merge "Move the server class settings out of the ask class"
This commit is contained in:
commit
fb3fcd21dd
@ -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'),
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user