Merge "Firstboot rsync for development purposes"
[apex-tripleo-heat-templates.git] / ceph-cluster-config.yaml
1 heat_template_version: 2015-04-30
2 description: 'Ceph Cluster config data'
3
4 parameters:
5   ceph_fsid:
6     default: ''
7     type: string
8   ceph_admin_key:
9     default: ''
10     type: string
11   ceph_mon_key:
12     default: ''
13     type: string
14   ceph_mon_names:
15     type: comma_delimited_list
16   ceph_mon_ips:
17     type: comma_delimited_list
18
19 resources:
20   CephClusterConfigImpl:
21     type: OS::Heat::StructuredConfig
22     properties:
23       group: os-apply-config
24       config:
25         ceph_cluster:
26           mon_initial_members:
27             list_join:
28             - ','
29             - {get_param: ceph_mon_names}
30           mon_host:
31             list_join:
32             - ','
33             - {get_param: ceph_mon_ips}
34           fsid: {get_param: ceph_fsid}
35           admin_key: {get_param: ceph_admin_key}
36           mon_key: {get_param: ceph_mon_key}
37           # We would need a dedicated key for OSD bootstrap
38           bootstrap_osd_key: {get_param: ceph_mon_key}
39           osds: '{"/srv/data": {}}'
40
41 outputs:
42   config_id:
43     description: The ID of the CephClusterConfigImpl resource.
44     value:
45       {get_resource: CephClusterConfigImpl}