Merge "Filter null/None service names"
[apex-tripleo-heat-templates.git] / puppet / services / 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: ./redis-base.yaml
16
17 outputs:
18   role_data:
19     description: Role data for the redis role.
20     value:
21       service_name: redis
22       config_settings:
23         map_merge:
24           - get_attr: [RedisBase, role_data, config_settings]
25           - tripleo.redis.firewall_rules:
26               '108 redis':
27                 dport:
28                   - 6379
29                   - 26379
30       step_config: |
31         include ::tripleo::profile::base::database::redis