Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Commit

Permalink
Fixing compatible issues between repos (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
oybed authored and bogdando committed Jan 2, 2018
1 parent 29eeb68 commit c87a00a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions roles/openstack-stack/templates/heat_stack.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -562,14 +562,14 @@ resources:
- interface
{% endif %}

{% if master_server_group_policies|length > 0 %}
{% if master_server_group_policies is defined and master_server_group_policies|length > 0 %}
master_server_group:
type: OS::Nova::ServerGroup
properties:
name: master_server_group
policies: {{ master_server_group_policies }}
{% endif %}
{% if infra_server_group_policies|length > 0 %}
{% if infra_server_group_policies is defined and infra_server_group_policies|length > 0 %}
infra_server_group:
type: OS::Nova::ServerGroup
properties:
Expand Down Expand Up @@ -689,7 +689,7 @@ resources:
attach_float_net: false
{% endif %}
volume_size: {{ master_volume_size }}
{% if master_server_group_policies|length > 0 %}
{% if master_server_group_policies is defined and master_server_group_policies|length > 0 %}
scheduler_hints:
group: { get_resource: master_server_group }
{% endif %}
Expand Down Expand Up @@ -827,7 +827,7 @@ resources:
floating_network: {{ external_network }}
{% endif %}
volume_size: {{ infra_volume_size }}
{% if infra_server_group_policies|length > 0 %}
{% if infra_server_group_policies is defined and infra_server_group_policies|length > 0 %}
scheduler_hints:
group: { get_resource: infra_server_group }
{% endif %}
Expand Down

0 comments on commit c87a00a

Please sign in to comment.