Update the template_version alias for all the templates to pike.
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / cinder-volume.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Cinder Volume service with Pacemaker configured with Puppet
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
30 resources:
31
32   CinderVolumeBase:
33     type: ../cinder-volume.yaml
34     properties:
35       ServiceNetMap: {get_param: ServiceNetMap}
36       DefaultPasswords: {get_param: DefaultPasswords}
37       EndpointMap: {get_param: EndpointMap}
38       RoleName: {get_param: RoleName}
39       RoleParameters: {get_param: RoleParameters}
40
41 outputs:
42   role_data:
43     description: Role data for the Cinder Volume role.
44     value:
45       service_name: cinder_volume
46       monitoring_subscription: {get_attr: [CinderVolumeBase, role_data, monitoring_subscription]}
47       logging_source: {get_attr: [CinderVolumeBase, role_data, logging_source]}
48       logging_groups: {get_attr: [CinderVolumeBase, role_data, logging_groups]}
49       config_settings:
50         map_merge:
51           - get_attr: [CinderVolumeBase, role_data, config_settings]
52           - cinder::volume::manage_service: false
53             cinder::volume::enabled: false
54             cinder::host: hostgroup
55       step_config:
56         include ::tripleo::profile::pacemaker::cinder::volume