1 heat_template_version: ocata
4 Apache service configured with Puppet. Note this is typically included
5 automatically via other services which run via Apache.
8 ApacheMaxRequestWorkers:
10 description: Maximum number of simultaneously processed requests.
14 description: Maximum number of Apache processes.
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.
27 description: Mapping of service endpoint -> protocol. Typically set
28 via parameter_defaults in the resource registry.
38 type: OS::TripleO::Services::ApacheTLS
40 ServiceNetMap: {get_param: ServiceNetMap}
44 description: Role data for the Apache role.
49 - get_attr: [ApacheTLS, role_data, config_settings]
51 # for the given network; replacement examples (eg. for internal_api):
53 # internal_api_uri -> [IP]
54 # internal_api_subnet - > IP/CIDR
55 apache::ip: {get_param: [ServiceNetMap, ApacheNetwork]}
56 apache::server_signature: 'Off'
57 apache::server_tokens: 'Prod'
58 apache_remote_proxy_ips_network:
60 template: "NETWORK_subnet"
62 NETWORK: {get_param: [ServiceNetMap, ApacheNetwork]}
63 apache::mod::prefork::maxclients: { get_param: ApacheMaxRequestWorkers }
64 apache::mod::prefork::serverlimit: { get_param: ApacheServerLimit }
65 apache::mod::remoteip::proxy_ips:
66 - "%{hiera('apache_remote_proxy_ips_network')}"