1 heat_template_version: 2016-04-08
4 OpenStack Aodh API service configured with Puppet
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.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
21 MonitoringSubscriptionAodhApi:
22 default: 'overcloud-ceilometer-aodh-api'
24 EnableCombinationAlarms:
26 description: Combination alarms are deprecated in Newton, hence disabled
27 by default. To enable, set this parameter to true.
35 type: ./aodh-base.yaml
37 ServiceNetMap: {get_param: ServiceNetMap}
38 DefaultPasswords: {get_param: DefaultPasswords}
39 EndpointMap: {get_param: EndpointMap}
44 ServiceNetMap: {get_param: ServiceNetMap}
45 DefaultPasswords: {get_param: DefaultPasswords}
46 EndpointMap: {get_param: EndpointMap}
47 EnableInternalTLS: {get_param: EnableInternalTLS}
51 description: Role data for the Aodh API service.
53 service_name: aodh_api
54 monitoring_subscription: {get_param: MonitoringSubscriptionAodhApi}
57 - get_attr: [AodhBase, role_data, config_settings]
58 - get_attr: [ApacheServiceBase, role_data, config_settings]
59 - aodh::wsgi::apache::ssl: {get_param: EnableInternalTLS}
60 aodh::wsgi::apache::servername:
63 '"%{::fqdn_$NETWORK}"'
65 $NETWORK: {get_param: [ServiceNetMap, AodhApiNetwork]}
66 aodh::api::service_name: 'httpd'
67 aodh::api::enable_proxy_headers_parsing: true
68 tripleo.aodh_api.firewall_rules:
76 '"%{::fqdn_$NETWORK}"'
78 $NETWORK: {get_param: [ServiceNetMap, AodhApiNetwork]}
79 # NOTE: bind IP is found in Heat replacing the network name with the
80 # local node IP for the given network; replacement examples
81 # (eg. for internal_api):
83 # internal_api_uri -> [IP]
84 # internal_api_subnet - > IP/CIDR
85 aodh::wsgi::apache::bind_host: {get_param: [ServiceNetMap, AodhApiNetwork]}
86 tripleo::profile::base::aodh::api::enable_combination_alarms: {get_param: EnableCombinationAlarms}
87 service_config_settings:
88 get_attr: [AodhBase, role_data, service_config_settings]
90 include tripleo::profile::base::aodh::api