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:
Martin Magr
2014-06-03 16:02:33 +02:00
parent cda9fcb00f
commit d794f98378
13 changed files with 25 additions and 27 deletions

View File

@@ -115,8 +115,9 @@ def create_manifest(config, messages):
config['FIREWALL_ALLOWED'] = "'ALL'"
config['FIREWALL_SERVICE_NAME'] = "keystone"
config['FIREWALL_SERVICE_ID'] = "keystone"
config['FIREWALL_PORTS'] = "'5000', '35357'"
config['FIREWALL_PORTS'] = "['5000', '35357']"
config['FIREWALL_CHAIN'] = "INPUT"
config['FIREWALL_PROTOCOL'] = 'tcp'
manifestdata += getManifestTemplate("firewall.pp")
appendManifestFile(manifestfile, manifestdata)