diff --git a/manifests/site.pp b/manifests/site.pp index 9deb195042..b7f7cef5ec 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -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'), diff --git a/modules/openstack_project/manifests/ask.pp b/modules/openstack_project/manifests/ask.pp index a31e727521..a93a26d50e 100644 --- a/modules/openstack_project/manifests/ask.pp +++ b/modules/openstack_project/manifests/ask.pp @@ -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',