1 heat_template_version: 2015-04-30
4 OpenStack controller node post deployment for Puppet.
11 description: Value which changes if the node configuration may need to be re-applied
16 ControllerPuppetConfig:
17 type: OS::TripleO::ControllerConfig
19 # Step through a series of Puppet runs using the same manifest.
20 # NOTE: To enable stepping through the deployments via heat hooks,
21 # you must observe the glob naming defined in overcloud-steps.yaml
22 # e.g all Deployment resources should have a *Deployment_StepN suffix
23 ControllerLoadBalancerDeployment_Step1:
24 type: OS::Heat::StructuredDeployments
26 servers: {get_param: servers}
27 config: {get_resource: ControllerPuppetConfig}
30 update_identifier: {get_param: NodeConfigIdentifiers}
31 actions: ['CREATE'] # no need for two passes on an UPDATE
33 ControllerServicesBaseDeployment_Step2:
34 type: OS::Heat::StructuredDeployments
35 depends_on: ControllerLoadBalancerDeployment_Step1
37 servers: {get_param: servers}
38 config: {get_resource: ControllerPuppetConfig}
41 update_identifier: {get_param: NodeConfigIdentifiers}
42 actions: ['CREATE'] # no need for two passes on an UPDATE
44 ControllerRingbuilderPuppetConfig:
45 type: OS::Heat::SoftwareConfig
55 get_file: manifests/ringbuilder.pp
57 ControllerRingbuilderDeployment_Step3:
58 type: OS::Heat::StructuredDeployments
59 depends_on: ControllerServicesBaseDeployment_Step2
61 servers: {get_param: servers}
62 config: {get_resource: ControllerRingbuilderPuppetConfig}
64 update_identifier: {get_param: NodeConfigIdentifiers}
66 ControllerOvercloudServicesDeployment_Step4:
67 type: OS::Heat::StructuredDeployments
68 depends_on: ControllerRingbuilderDeployment_Step3
70 servers: {get_param: servers}
71 config: {get_resource: ControllerPuppetConfig}
74 update_identifier: {get_param: NodeConfigIdentifiers}
76 ControllerOvercloudServicesDeployment_Step5:
77 type: OS::Heat::StructuredDeployments
78 depends_on: ControllerOvercloudServicesDeployment_Step4
80 servers: {get_param: servers}
81 config: {get_resource: ControllerPuppetConfig}
84 update_identifier: {get_param: NodeConfigIdentifiers}
86 ControllerOvercloudServicesDeployment_Step6:
87 type: OS::Heat::StructuredDeployments
88 depends_on: ControllerOvercloudServicesDeployment_Step5
90 servers: {get_param: servers}
91 config: {get_resource: ControllerPuppetConfig}
94 update_identifier: {get_param: NodeConfigIdentifiers}
96 # Note, this should come last, so use depends_on to ensure
97 # this is created after any other resources.
99 depends_on: ControllerOvercloudServicesDeployment_Step5
100 type: OS::TripleO::NodeExtraConfigPost
102 servers: {get_param: servers}