Moved the server class settings out of the eavesdrop class

Change-Id: Ieb002b252783fc3d9da0c8392d972c940711f5f4
Story: 2000172
Spec: http://specs.openstack.org/openstack-infra/infra-specs/specs/server_base_template_refactor.html
This commit is contained in:
George Peristerakis 2015-05-19 14:16:18 -04:00
parent a88ebb863f
commit 20783e54c6
2 changed files with 5 additions and 6 deletions

View File

@ -261,10 +261,14 @@ node 'planet.openstack.org' {
# Node-OS: precise
node 'eavesdrop.openstack.org' {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80],
sysadmins => hiera('sysadmins', []),
}
class { 'openstack_project::eavesdrop':
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
nickpass => hiera('openstack_meetbot_password', 'XXX'),
sysadmins => hiera('sysadmins', []),
statusbot_nick => hiera('statusbot_nick', 'username'),
statusbot_password => hiera('statusbot_nick_password', 'XXX'),
statusbot_server => 'chat.freenode.net',

View File

@ -2,7 +2,6 @@
class openstack_project::eavesdrop (
$nickpass = '',
$sysadmins = [],
$statusbot_nick = '',
$statusbot_password = '',
$statusbot_server = '',
@ -16,10 +15,6 @@ class openstack_project::eavesdrop (
$accessbot_password = '',
$project_config_repo = '',
) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80],
sysadmins => $sysadmins
}
include apache
include meetbot