Merge "Fix description of control plane route parameter"
[apex-tripleo-heat-templates.git] / puppet / ceph-storage-post.yaml
1 heat_template_version: 2015-04-30
2
3 description: >
4   OpenStack ceph storage node post deployment for Puppet
5
6 parameters:
7   ConfigDebug:
8     default: false
9     description: Whether to run config management (e.g. Puppet) in debug mode.
10     type: boolean
11   servers:
12     type: json
13   NodeConfigIdentifiers:
14      type: json
15      description: Value which changes if the node configuration may need to be re-applied
16
17
18 resources:
19   CephStoragePuppetConfig:
20     type: OS::Heat::SoftwareConfig
21     properties:
22       group: puppet
23       options:
24         enable_debug: {get_param: ConfigDebug}
25       outputs:
26       - name: result
27       config:
28         get_file: manifests/overcloud_cephstorage.pp
29
30   CephStorageDeployment_Step1:
31     type: OS::Heat::StructuredDeployments
32     properties:
33       servers:  {get_param: servers}
34       config: {get_resource: CephStoragePuppetConfig}
35       input_values:
36         update_identifier: {get_param: NodeConfigIdentifiers}
37
38   # Note, this should come last, so use depends_on to ensure
39   # this is created after any other resources.
40   ExtraConfig:
41     depends_on: CephStorageDeployment_Step1
42     type: OS::TripleO::NodeExtraConfigPost
43     properties:
44         servers: {get_param: servers}
45