1 heat_template_version: 2015-04-30
4 OpenStack compute node post deployment for Puppet.
9 description: Whether to run config management (e.g. Puppet) in debug mode.
13 NodeConfigIdentifiers:
15 description: Value which changes if the node configuration may need to be re-applied
22 ComputeArtifactsConfig:
23 type: deploy-artifacts.yaml
25 ComputeArtifactsDeploy:
26 type: OS::Heat::StructuredDeployments
28 servers: {get_param: servers}
29 config: {get_resource: ComputeArtifactsConfig}
31 update_identifier: {get_param: NodeConfigIdentifiers}
34 type: OS::Heat::SoftwareConfig
38 enable_debug: {get_param: ConfigDebug}
48 - - get_file: manifests/overcloud_compute.pp
49 - {get_param: [RoleData, step_config]}
51 ComputeServicesBaseDeployment_Step2:
52 type: OS::Heat::StructuredDeployments
53 depends_on: [ComputeArtifactsDeploy]
55 name: ComputeServicesBaseDeployment_Step2
56 servers: {get_param: servers}
57 config: {get_resource: ComputePuppetConfig}
60 update_identifier: {get_param: NodeConfigIdentifiers}
62 ComputeOvercloudServicesDeployment_Step3:
63 type: OS::Heat::StructuredDeployments
64 depends_on: ComputeServicesBaseDeployment_Step2
66 name: ComputeOvercloudServicesDeployment_Step3
67 servers: {get_param: servers}
68 config: {get_resource: ComputePuppetConfig}
71 update_identifier: {get_param: NodeConfigIdentifiers}
73 ComputeOvercloudServicesDeployment_Step4:
74 type: OS::Heat::StructuredDeployments
75 depends_on: ComputeOvercloudServicesDeployment_Step3
77 name: ComputeOvercloudServicesDeployment_Step4
78 servers: {get_param: servers}
79 config: {get_resource: ComputePuppetConfig}
82 update_identifier: {get_param: NodeConfigIdentifiers}
84 # Note, this should come last, so use depends_on to ensure
85 # this is created after any other resources.
87 depends_on: ComputeOvercloudServicesDeployment_Step4
88 type: OS::TripleO::NodeExtraConfigPost
90 servers: {get_param: servers}