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
22 CephStorageArtifactsConfig:
23 type: deploy-artifacts.yaml
25 CephStorageArtifactsDeploy:
26 type: OS::Heat::StructuredDeployments
28 servers: {get_param: servers}
29 config: {get_resource: CephStorageArtifactsConfig}
31 update_identifier: {get_param: NodeConfigIdentifiers}
33 CephStoragePuppetConfig:
34 type: OS::Heat::SoftwareConfig
38 enable_debug: {get_param: ConfigDebug}
48 - - get_file: manifests/overcloud_cephstorage.pp
49 - {get_param: [RoleData, step_config]}
51 CephStorageDeployment_Step2:
52 type: OS::Heat::StructuredDeployments
53 depends_on: CephStorageArtifactsDeploy
55 name: CephStorageDeployment_Step2
56 servers: {get_param: servers}
57 config: {get_resource: CephStoragePuppetConfig}
60 update_identifier: {get_param: NodeConfigIdentifiers}
62 CephStorageDeployment_Step3:
63 type: OS::Heat::StructuredDeployments
64 depends_on: CephStorageDeployment_Step2
66 name: CephStorageDeployment_Step3
67 servers: {get_param: servers}
68 config: {get_resource: CephStoragePuppetConfig}
71 update_identifier: {get_param: NodeConfigIdentifiers}
73 # Note, this should come last, so use depends_on to ensure
74 # this is created after any other resources.
76 depends_on: CephStorageDeployment_Step3
77 type: OS::TripleO::NodeExtraConfigPost
79 servers: {get_param: servers}