Open port 3306 on logstash.o.o

When mysql-proxy was being used we had to open port 4040 to allow
connections to the proxy. However, since that approach was abandoned
and simpleproxy is being used instead, it's just forwarding port 3306.
This commit fixes it by switch 4040 to 3306 in the firewall rules.

Change-Id: Ie6d04e20996ba4c7f567526a2428ce5015b8b135
This commit is contained in:
Matthew Treinish 2014-12-12 16:43:37 -05:00
parent 2a69fc8e55
commit a86df2042c

View File

@ -27,7 +27,7 @@ class openstack_project::logstash (
$iptables_gm_rule = regsubst ($gearman_workers, '^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 4730 -s \1 -j ACCEPT')
$iptables_rule = flatten([$iptables_es_rule, $iptables_gm_rule])
class { 'openstack_project::server':
iptables_public_tcp_ports => [22, 80, 4040],
iptables_public_tcp_ports => [22, 80, 3306],
iptables_rules6 => $iptables_rule,
iptables_rules4 => $iptables_rule,
sysadmins => $sysadmins,