1 heat_template_version: ocata
4 Apache service TLS configurations.
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.
13 # The following parameters are not needed by the template but are
14 # required to pass the pep8 tests
20 description: Mapping of service endpoint -> protocol. Typically set
21 via parameter_defaults in the resource registry.
26 description: Role data for the Apache role.
28 service_name: apache_internal_tls_certmonger
30 generate_service_certificates: true
31 apache_certificates_specs:
36 service_certificate: '/etc/pki/tls/certs/httpd-NETWORK.crt'
37 service_key: '/etc/pki/tls/private/httpd-NETWORK.key'
38 hostname: "%{hiera('fqdn_NETWORK')}"
39 principal: "HTTP/%{hiera('fqdn_NETWORK')}"
42 # NOTE(jaosorior) Get unique network names to create
43 # certificates for those. We skip the tenant network since
44 # we don't need a certificate for that, and the external
45 # network will be handled in another template.
47 expression: list($.data.map.items().map($1[1])).distinct().where($ != external and $ != tenant)
50 get_param: ServiceNetMap