Skip to content

Commit

Permalink
Closes-Bug: #1526168
Browse files Browse the repository at this point in the history
    Fix bug introduced in earlier checkin for the above feature. Multinode provisining
    was broken.

Change-Id: I206f046da1513c5b536a98e1bc959e8b0c0e4229
  • Loading branch information
ajoshi9 committed Jan 21, 2016
1 parent 96651cb commit 39fa9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server_mgr_puppet.py
Expand Up @@ -636,7 +636,7 @@ def build_openstack_hiera_file(
# Get all values needed to fill the template.
self_ip = server.get("ip_address", "")

openstack_ips = [x["ip_address"] for x in cluster_servers if "openstack" in eval(server.get('roles', '[]'))]
openstack_ips = [x["ip_address"] for x in cluster_servers if "openstack" in eval(x.get('roles', '[]'))]
if self_ip in openstack_ips:
openstack_ip = self_ip
else:
Expand Down

0 comments on commit 39fa9b3

Please sign in to comment.