52760c87f8e4d8db98e709d9aa8ba563d3d9fd31
[apex-tripleo-heat-templates.git] / extraconfig / tasks / post_puppet_pacemaker_restart.yaml
1 heat_template_version: 2014-10-16
2 description: 'Post-Puppet restart config for Pacemaker deployments'
3
4 parameters:
5   servers:
6     type: json
7   input_values:
8      type: json
9      description: input values for the software deployments
10
11 resources:
12
13   ControllerPostPuppetRestartConfig:
14     type: OS::Heat::SoftwareConfig
15     properties:
16       group: script
17       config:
18         list_join:
19         - ''
20         - - get_file: pacemaker_common_functions.sh
21           - get_file: pacemaker_resource_restart.sh
22
23   ControllerPostPuppetRestartDeployment:
24     type: OS::Heat::SoftwareDeployments
25     properties:
26       servers:  {get_param: servers}
27       config: {get_resource: ControllerPostPuppetRestartConfig}
28       input_values: {get_param: input_values}