Update the template_version alias for all the templates to pike.
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / ceph-rbdmirror.yaml
1 heat_template_version: pike
2
3 description: >
4   Ceph RBD mirror 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   DefaultPasswords:
14     default: {}
15     type: json
16   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   CephClientUserName:
30     default: openstack
31     type: string
32
33 resources:
34   CephBase:
35     type: ../ceph-base.yaml
36     properties:
37       ServiceNetMap: {get_param: ServiceNetMap}
38       DefaultPasswords: {get_param: DefaultPasswords}
39       EndpointMap: {get_param: EndpointMap}
40       RoleName: {get_param: RoleName}
41       RoleParameters: {get_param: RoleParameters}
42
43 outputs:
44   role_data:
45     description: Role data for the Ceph RBD mirrror service.
46     value:
47       service_name: ceph_rbdmirror
48       config_settings:
49         map_merge:
50           - get_attr: [CephBase, role_data, config_settings]
51           - tripleo::profile::pacemaker::ceph::rbdmirror::client_name: {get_param: CephClientUserName}
52             tripleo.ceph_rbdmirror.firewall_rules:
53               '113 ceph_rbdmirror':
54                 dport:
55                   - '6800-7300'
56       step_config: |
57         include ::tripleo::profile::pacemaker::ceph::rbdmirror