0e46f8a3d6d3364e9d1b9208fd1d771a89739c5f
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / database / redis.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Redis service configured with Puppet
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12
13 resources:
14   RedisBase:
15     type: ../../database/redis-base.yaml
16
17 outputs:
18   role_data:
19     description: Role data for the Redis pacemaker role.
20     value:
21       config_settings:
22         map_merge:
23           - get_attr: [RedisBase, role_data, config_settings]
24           - tripleo::profile::pacemaker::database::redis::redis_vip: {get_input: redis_vip}
25             redis::service_manage: false
26             redis::notify_service: false
27       step_config: |
28         include ::tripleo::profile::pacemaker::database::redis