Fix glance backend selection

Past modifications deleted the code that allows
packstack to properly select the glance backend.

Change-Id: Ib3a2e0e4311dcd59b021cc2632abfcb407f1eedd
Resolves: rhbz#1288179
This commit is contained in:
Ivan Chavero 2015-12-07 13:13:09 -07:00
parent 54c2d2a8a8
commit 7c25405dd9
1 changed files with 4 additions and 0 deletions

View File

@ -147,5 +147,9 @@ def create_manifest(config, messages):
fw_details[key]['proto'] = "tcp"
config['FIREWALL_GLANCE_RULES'] = fw_details
# Set the backend
manifestdata += getManifestTemplate(
'glance_%s.pp' % config['CONFIG_GLANCE_BACKEND'])
manifestdata += createFirewallResources('FIREWALL_GLANCE_RULES')
appendManifestFile(manifestfile, manifestdata)