Restore the NtpServer parameter name
[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   GnocchiRbdPoolName:
9     default: metrics
10     type: string
11   CephClientUserName:
12     default: openstack
13     type: string
14
15 resources:
16   CephClusterConfigImpl:
17     type: OS::Heat::StructuredConfig
18     properties:
19       group: os-apply-config
20       config:
21         hiera:
22           datafiles:
23             ceph_cluster:
24               mapped_data:
25                 nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
26                 gnocchi::storage::ceph::ceph_pool: {get_param: GnocchiRbdPoolName}
27                 gnocchi::storage::ceph::ceph_username: {get_param: CephClientUserName}
28                 nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
29                 nova::compute::rbd::rbd_keyring:
30                   list_join:
31                   - '.'
32                   - - 'client'
33                     - {get_param: CephClientUserName}
34                 gnocchi::storage::ceph::ceph_keyring:
35                   list_join:
36                   - '.'
37                   - - '/etc/ceph/ceph'
38                     - 'client'
39                     - {get_param: CephClientUserName}
40                     - 'keyring'
41
42 outputs:
43   config_id:
44     description: The ID of the CephClusterConfigImpl resource.
45     value:
46       {get_resource: CephClusterConfigImpl}