Merge "Add trunking plugin to list of default ML2 service plugins"
[apex-tripleo-heat-templates.git] / puppet / services / apache.yaml
1 heat_template_version: 2016-10-14
2
3 description: >
4   Apache service configured with Puppet. Note this is typically included
5   automatically via other services which run via Apache.
6
7 parameters:
8   ServiceNetMap:
9     default: {}
10     description: Mapping of service_name -> network name. Typically set
11                  via parameter_defaults in the resource registry.  This
12                  mapping overrides those in ServiceNetMapDefaults.
13     type: json
14   DefaultPasswords:
15     default: {}
16     type: json
17   EndpointMap:
18     default: {}
19     description: Mapping of service endpoint -> protocol. Typically set
20                  via parameter_defaults in the resource registry.
21     type: json
22
23 outputs:
24   role_data:
25     description: Role data for the Apache role.
26     value:
27       service_name: apache
28       config_settings:
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         apache::ip: {get_param: [ServiceNetMap, ApacheNetwork]}
34         apache::server_signature: 'Off'
35         apache::server_tokens: 'Prod'
36         apache_remote_proxy_ips_network:
37           str_replace:
38             template: "NETWORK_subnet"
39             params:
40               NETWORK: {get_param: [ServiceNetMap, ApacheNetwork]}
41         apache::mod::remoteip::proxy_ips:
42           - "%{hiera('apache_remote_proxy_ips_network')}"