Merge "Enable usage of FQDNs for the endpoints"
[apex-tripleo-heat-templates.git] / puppet / services / memcached.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Memcached service 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   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21
22 outputs:
23   role_data:
24     description: Role data for the Memcached role.
25     value:
26       service_name: memcached
27       config_settings:
28         # NOTE: bind IP is found in Heat replacing the network name with the local node IP
29         # for the given network; replacement examples (eg. for internal_api):
30         # internal_api -> IP
31         # internal_api_uri -> [IP]
32         # internal_api_subnet - > IP/CIDR
33         memcached::listen_ip: {get_param: [ServiceNetMap, MemcachedNetwork]}
34         tripleo.memcached.firewall_rules:
35           '121 memcached':
36             dport: 11211
37       step_config: |
38         include ::tripleo::profile::base::memcached