diff options
| author | Tzu-Mainn Chen <tzumainn@redhat.com> | 2017-06-21 18:01:48 -0400 |
|---|---|---|
| committer | Tzu-Mainn Chen <tzumainn@redhat.com> | 2017-06-21 18:01:48 -0400 |
| commit | 8219f17503e16620b4881faefc78023c696ed2e5 (patch) | |
| tree | f78024c437a662bb083da277bd3b6db062e6a017 /roles/openstack-stack/templates | |
| parent | 6457152be04098c7f765b322447006bdb052509f (diff) | |
Add node_removal_policies variable to allow for scaling down
Diffstat (limited to 'roles/openstack-stack/templates')
| -rw-r--r-- | roles/openstack-stack/templates/heat_stack.yaml.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openstack-stack/templates/heat_stack.yaml.j2 b/roles/openstack-stack/templates/heat_stack.yaml.j2 index c750865a5..3916eec02 100644 --- a/roles/openstack-stack/templates/heat_stack.yaml.j2 +++ b/roles/openstack-stack/templates/heat_stack.yaml.j2 @@ -620,6 +620,8 @@ resources: type: OS::Heat::ResourceGroup properties: count: {{ num_nodes }} + removal_policies: + - resource_list: {{ node_removal_policies }} resource_def: type: server.yaml properties: |
