1 heat_template_version: 2015-04-30
4 OpenStack ceph storage 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
18 description: Config manifests that will be used to step through the deployment.
23 CephStorageArtifactsConfig:
24 type: deploy-artifacts.yaml
26 CephStorageArtifactsDeploy:
27 type: OS::Heat::StructuredDeployments
29 servers: {get_param: servers}
30 config: {get_resource: CephStorageArtifactsConfig}
32 update_identifier: {get_param: NodeConfigIdentifiers}
34 CephStoragePuppetConfig:
35 type: OS::Heat::SoftwareConfig
39 enable_debug: {get_param: ConfigDebug}
49 - - get_file: manifests/overcloud_cephstorage.pp
50 - {get_param: StepConfig}
52 CephStorageDeployment_Step2:
53 type: OS::Heat::StructuredDeployments
54 depends_on: CephStorageArtifactsDeploy
56 name: CephStorageDeployment_Step2
57 servers: {get_param: servers}
58 config: {get_resource: CephStoragePuppetConfig}
61 update_identifier: {get_param: NodeConfigIdentifiers}
63 CephStorageDeployment_Step3:
64 type: OS::Heat::StructuredDeployments
65 depends_on: CephStorageDeployment_Step2
67 name: CephStorageDeployment_Step3
68 servers: {get_param: servers}
69 config: {get_resource: CephStoragePuppetConfig}
72 update_identifier: {get_param: NodeConfigIdentifiers}
74 # Note, this should come last, so use depends_on to ensure
75 # this is created after any other resources.
77 depends_on: CephStorageDeployment_Step3
78 type: OS::TripleO::NodeExtraConfigPost
80 servers: {get_param: servers}