Merge "Moving *postconfig where it was *postpuppet"
This commit is contained in:
commit
05ec01df43
@ -216,26 +216,31 @@ resources:
|
||||
{% endfor %}
|
||||
# END CONFIG STEPS
|
||||
|
||||
# Note, this should be the last step to execute configuration changes.
|
||||
# Ensure that all {{role.name}}ExtraConfigPost steps are executed
|
||||
# after all the previous deployment steps.
|
||||
{{role.name}}ExtraConfigPost:
|
||||
depends_on:
|
||||
{% for dep in roles %}
|
||||
- {{dep.name}}Deployment_Step5
|
||||
{% endfor %}
|
||||
type: OS::TripleO::NodeExtraConfigPost
|
||||
properties:
|
||||
servers: {get_param: [servers, {{role.name}}]}
|
||||
|
||||
# The {{role.name}}PostConfig steps are in charge of
|
||||
# quiescing all services, i.e. in the Controller case,
|
||||
# we should run a full service reload.
|
||||
{{role.name}}PostConfig:
|
||||
type: OS::TripleO::Tasks::{{role.name}}PostConfig
|
||||
depends_on:
|
||||
{% for dep in roles %}
|
||||
- {{dep.name}}Deployment_Step5
|
||||
- {{dep.name}}ExtraConfigPost
|
||||
{% endfor %}
|
||||
properties:
|
||||
servers: {get_param: servers}
|
||||
input_values:
|
||||
update_identifier: {get_param: DeployIdentifier}
|
||||
|
||||
# Note, this should come last, so use depends_on to ensure
|
||||
# this is created after any other resources.
|
||||
{{role.name}}ExtraConfigPost:
|
||||
depends_on:
|
||||
{% for dep in roles %}
|
||||
- {{dep.name}}PostConfig
|
||||
{% endfor %}
|
||||
type: OS::TripleO::NodeExtraConfigPost
|
||||
properties:
|
||||
servers: {get_param: [servers, {{role.name}}]}
|
||||
|
||||
{% endfor %}
|
||||
|
@ -10,8 +10,8 @@ parameters:
|
||||
|
||||
resources:
|
||||
|
||||
{%- for role in roles -%}
|
||||
{% if "controller" in role.tags %}
|
||||
{%- for role in roles %}
|
||||
{%- if 'controller' in role.tags %}
|
||||
{{role.name}}PostPuppetMaintenanceModeConfig:
|
||||
type: OS::Heat::SoftwareConfig
|
||||
properties:
|
||||
@ -37,6 +37,6 @@ resources:
|
||||
properties:
|
||||
servers: {get_param: [servers, {{role.name}}]}
|
||||
input_values: {get_param: input_values}
|
||||
{%- endif -%}
|
||||
{% endfor %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
||||
|
@ -44,26 +44,31 @@
|
||||
update_identifier: {get_param: DeployIdentifier}
|
||||
{% endfor %}
|
||||
|
||||
# Note, this should be the last step to execute configuration changes.
|
||||
# Ensure that all {{role.name}}ExtraConfigPost steps are executed
|
||||
# after all the previous deployment steps.
|
||||
{{role.name}}ExtraConfigPost:
|
||||
depends_on:
|
||||
{% for dep in roles %}
|
||||
- {{dep.name}}Deployment_Step5
|
||||
{% endfor %}
|
||||
type: OS::TripleO::NodeExtraConfigPost
|
||||
properties:
|
||||
servers: {get_param: [servers, {{role.name}}]}
|
||||
|
||||
# The {{role.name}}PostConfig steps are in charge of
|
||||
# quiescing all services, i.e. in the Controller case,
|
||||
# we should run a full service reload.
|
||||
{{role.name}}PostConfig:
|
||||
type: OS::TripleO::Tasks::{{role.name}}PostConfig
|
||||
depends_on:
|
||||
{% for dep in roles %}
|
||||
- {{dep.name}}Deployment_Step5
|
||||
- {{dep.name}}ExtraConfigPost
|
||||
{% endfor %}
|
||||
properties:
|
||||
servers: {get_param: servers}
|
||||
input_values:
|
||||
update_identifier: {get_param: DeployIdentifier}
|
||||
|
||||
# Note, this should come last, so use depends_on to ensure
|
||||
# this is created after any other resources.
|
||||
{{role.name}}ExtraConfigPost:
|
||||
depends_on:
|
||||
{% for dep in roles %}
|
||||
- {{dep.name}}PostConfig
|
||||
{% endfor %}
|
||||
type: OS::TripleO::NodeExtraConfigPost
|
||||
properties:
|
||||
servers: {get_param: [servers, {{role.name}}]}
|
||||
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user