Merge "Composable firewall rules"
[apex-tripleo-heat-templates.git] / puppet / ceph-cluster-config.yaml
1 heat_template_version: 2015-04-30
2 description: 'Ceph Cluster config data for Puppet'
3
4 parameters:
5   NovaRbdPoolName:
6     default: vms
7     type: string
8   CephClientUserName:
9     default: openstack
10     type: string
11
12 resources:
13   CephClusterConfigImpl:
14     type: OS::Heat::StructuredConfig
15     properties:
16       group: os-apply-config
17       config:
18         hiera:
19           datafiles:
20             ceph_cluster:
21               mapped_data:
22                 nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
23                 nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
24                 nova::compute::rbd::rbd_keyring:
25                   list_join:
26                   - '.'
27                   - - 'client'
28                     - {get_param: CephClientUserName}
29
30 outputs:
31   config_id:
32     description: The ID of the CephClusterConfigImpl resource.
33     value:
34       {get_resource: CephClusterConfigImpl}