1 heat_template_version: 2014-10-16
4 OpenStack controller node post deployment for Puppet.
12 ControllerPuppetConfig:
13 type: OS::Heat::SoftwareConfig
22 get_file: manifests/overcloud_controller.pp
24 # Step through a series of Puppet runs using the same manifest.
25 # NOTE(dprince): Heat breakpoints would make for a really cool way to step
26 # through breakpoints in a controlled manner across the entire cluster
27 ControllerDeploymentLoadBalancer_Step1:
28 type: OS::Heat::StructuredDeployments
30 servers: {get_param: servers}
31 config: {get_resource: ControllerPuppetConfig}
34 actions: ['CREATE'] # no need for two passes on an UPDATE
36 ControllerDeploymentServicesBase_Step2:
37 type: OS::Heat::StructuredDeployments
38 depends_on: ControllerDeploymentLoadBalancer_Step1
40 servers: {get_param: servers}
41 config: {get_resource: ControllerPuppetConfig}
44 actions: ['CREATE'] # no need for two passes on an UPDATE
46 ControllerRingbuilderPuppetConfig:
47 type: OS::Heat::SoftwareConfig
57 get_file: manifests/ringbuilder.pp
59 ControllerRingbuilderDeployment_Step3:
60 type: OS::Heat::StructuredDeployments
61 depends_on: ControllerDeploymentServicesBase_Step2
63 servers: {get_param: servers}
64 config: {get_resource: ControllerRingbuilderPuppetConfig}
66 ControllerDeploymentOvercloudServices_Step4:
67 type: OS::Heat::StructuredDeployments
68 depends_on: ControllerRingbuilderDeployment_Step3
70 servers: {get_param: servers}
71 config: {get_resource: ControllerPuppetConfig}
75 # Note, this should come last, so use depends_on to ensure
76 # this is created after any other resources.
78 depends_on: ControllerDeploymentOvercloudServices_Step4
79 type: OS::TripleO::NodeExtraConfigPost
81 servers: {get_param: servers}