Allow to enable fencing, pass through fencing config
[apex-tripleo-heat-templates.git] / puppet / ceph-storage-post-puppet.yaml
1 heat_template_version: 2015-04-30
2
3 description: >
4   OpenStack ceph storage node post deployment for Puppet
5
6 parameters:
7   servers:
8     type: json
9   NodeConfigIdentifiers:
10      type: json
11      description: Value which changes if the node configuration may need to be re-applied
12
13
14 resources:
15   CephStoragePuppetConfig:
16     type: OS::Heat::SoftwareConfig
17     properties:
18       group: puppet
19       outputs:
20       - name: result
21       config:
22         get_file: manifests/overcloud_cephstorage.pp
23
24   CephStorageDeployment_Step1:
25     type: OS::Heat::StructuredDeployments
26     properties:
27       servers:  {get_param: servers}
28       config: {get_resource: CephStoragePuppetConfig}
29       input_values:
30         update_identifier: {get_param: NodeConfigIdentifiers}
31
32   # Note, this should come last, so use depends_on to ensure
33   # this is created after any other resources.
34   ExtraConfig:
35     depends_on: CephStorageDeployment_Step1
36     type: OS::TripleO::NodeExtraConfigPost
37     properties:
38         servers: {get_param: servers}
39