9e3f637541606a02eb190b0376898a5fe5d245ca
[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   MonitoringSubscriptionMemcached:
22     default: 'overcloud-memcached'
23     type: string
24
25 outputs:
26   role_data:
27     description: Role data for the Memcached role.
28     value:
29       service_name: memcached
30       monitoring_subscription: {get_param: MonitoringSubscriptionMemcached}
31       config_settings:
32         # NOTE: bind IP is found in Heat replacing the network name with the local node IP
33         # for the given network; replacement examples (eg. for internal_api):
34         # internal_api -> IP
35         # internal_api_uri -> [IP]
36         # internal_api_subnet - > IP/CIDR
37         memcached::listen_ip: {get_param: [ServiceNetMap, MemcachedNetwork]}
38         tripleo.memcached.firewall_rules:
39           '121 memcached':
40             dport: 11211
41       step_config: |
42         include ::tripleo::profile::base::memcached