Fixed firewall protocols
Resource provider for firewall does not accept array as value for parameter 'proto'. This patch is fixing it. Change-Id: Iba55657f35a5c79149b22873e8eb753b71b6ceda Fixes: rhbz#1100993
This commit is contained in:
@@ -246,8 +246,9 @@ def create_manifest(config, messages):
|
||||
|
||||
# All hosts should be able to talk to amqp
|
||||
config['FIREWALL_SERVICE_NAME'] = "amqp"
|
||||
config['FIREWALL_PORTS'] = "'5671', '5672'"
|
||||
config['FIREWALL_PORTS'] = "['5671', '5672']"
|
||||
config['FIREWALL_CHAIN'] = "INPUT"
|
||||
config['FIREWALL_PROTOCOL'] = 'tcp'
|
||||
for host in filtered_hosts(config, exclude=False):
|
||||
config['FIREWALL_ALLOWED'] = "'%s'" % host
|
||||
config['FIREWALL_SERVICE_ID'] = "amqp_%s" % host
|
||||
|
||||
Reference in New Issue
Block a user