567622bb56f727946c2dfd6fa95e28f642d4bd60
[apex-tripleo-heat-templates.git] / puppet / services / ceph-osd.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Ceph OSD service.
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   EndpointMap:
14     default: {}
15     description: Mapping of service endpoint -> protocol. Typically set
16                  via parameter_defaults in the resource registry.
17     type: json
18
19 resources:
20   CephBase:
21     type: ./ceph-base.yaml
22     properties:
23       ServiceNetMap: {get_param: ServiceNetMap}
24       EndpointMap: {get_param: EndpointMap}
25
26 outputs:
27   role_data:
28     description: Role data for the Cinder OSD service.
29     value:
30       service_name: ceph_osd
31       config_settings:
32         map_merge:
33           - get_attr: [CephBase, role_data, config_settings]
34           - tripleo.ceph_osd.firewall_rules:
35               '111 ceph_osd':
36                 dport:
37                   - '6800-7300'
38       step_config: |
39         include ::tripleo::profile::base::ceph::osd