1 heat_template_version: 2015-04-30
2 description: 'Ceph Cluster config data for Puppet'
8 description: Number of Ceph storage nodes. Used to enable/disable managed Ceph installation.
12 description: List of external Ceph Mon host IPs.
16 description: Ceph key used to create the 'openstack' user keyring.
27 type: comma_delimited_list
29 type: comma_delimited_list
32 CephClusterConfigImpl:
33 type: OS::Heat::StructuredConfig
35 group: os-apply-config
41 ceph_storage_count: {get_param: ceph_storage_count}
42 ceph_mon_initial_members:
45 - {get_param: ceph_mon_names}
46 ceph::profile::params::mon_host:
49 - {get_param: ceph_mon_ips}
50 ceph::profile::params::fsid: {get_param: ceph_fsid}
51 ceph::profile::params::mon_key: {get_param: ceph_mon_key}
52 # We should use a separated key for the non-admin clients
53 ceph::profile::params::client_keys:
63 client.bootstrap-osd: {
65 keyring_path: '/var/lib/ceph/bootstrap-osd/ceph.keyring',
66 cap_mon: 'allow profile bootstrap-osd'
72 cap_osd: 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms, allow rwx pool=images'
76 ADMIN_KEY: {get_param: ceph_admin_key}
80 description: The ID of the CephClusterConfigImpl resource.
82 {get_resource: CephClusterConfigImpl}