Remove double definition of config_settings key in keystone
[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   ApacheMaxRequestWorkers:
9     default: 256
10     description: Maximum number of simultaneously processed requests.
11     type: number
12   ApacheServerLimit:
13     default: 256
14     description: Maximum number of Apache processes.
15     type: number
16   ServiceNetMap:
17     default: {}
18     description: Mapping of service_name -> network name. Typically set
19                  via parameter_defaults in the resource registry.  This
20                  mapping overrides those in ServiceNetMapDefaults.
21     type: json
22   DefaultPasswords:
23     default: {}
24     type: json
25   EndpointMap:
26     default: {}
27     description: Mapping of service endpoint -> protocol. Typically set
28                  via parameter_defaults in the resource registry.
29     type: json
30
31 outputs:
32   role_data:
33     description: Role data for the Apache role.
34     value:
35       service_name: apache
36       config_settings:
37         # for the given network; replacement examples (eg. for internal_api):
38         # internal_api -> IP
39         # internal_api_uri -> [IP]
40         # internal_api_subnet - > IP/CIDR
41         apache::ip: {get_param: [ServiceNetMap, ApacheNetwork]}
42         apache::server_signature: 'Off'
43         apache::server_tokens: 'Prod'
44         apache_remote_proxy_ips_network:
45           str_replace:
46             template: "NETWORK_subnet"
47             params:
48               NETWORK: {get_param: [ServiceNetMap, ApacheNetwork]}
49         apache::mod::prefork::maxclients: { get_param: ApacheMaxRequestWorkers }
50         apache::mod::prefork::serverlimit: { get_param: ApacheServerLimit }
51         apache::mod::remoteip::proxy_ips:
52           - "%{hiera('apache_remote_proxy_ips_network')}"