Migrate logstash-worker to ubuntu-trusty

This is part of our effort to migrate servers from ubuntu precise to
ubuntu trusty.

Change-Id: I257458e6d282fa867663c248a94ed3f29eed32de
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-05-24 15:53:35 -04:00
parent f2037197d6
commit e1a9331e6c
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -455,6 +455,7 @@ node 'logstash.openstack.org' {
}
# Node-OS: precise
# Node-OS: trusty
node /^logstash-worker\d+\.openstack\.org$/ {
$logstash_worker_iptables_rule = regsubst(flatten([$elasticsearch_nodes, $elasticsearch_clients]),
'^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 9200:9400 -s \1 -j ACCEPT')