1 heat_template_version: ocata
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'
30 type: ./aodh-base.yaml
32 ServiceNetMap: {get_param: ServiceNetMap}
33 DefaultPasswords: {get_param: DefaultPasswords}
34 EndpointMap: {get_param: EndpointMap}
39 ServiceNetMap: {get_param: ServiceNetMap}
40 DefaultPasswords: {get_param: DefaultPasswords}
41 EndpointMap: {get_param: EndpointMap}
42 EnableInternalTLS: {get_param: EnableInternalTLS}
46 description: Role data for the Aodh API service.
48 service_name: aodh_api
49 monitoring_subscription: {get_param: MonitoringSubscriptionAodhApi}
52 - get_attr: [AodhBase, role_data, config_settings]
53 - get_attr: [ApacheServiceBase, role_data, config_settings]
54 - aodh::wsgi::apache::ssl: {get_param: EnableInternalTLS}
55 aodh::wsgi::apache::servername:
58 "%{hiera('fqdn_$NETWORK')}"
60 $NETWORK: {get_param: [ServiceNetMap, AodhApiNetwork]}
61 aodh::wsgi::apache::wsgi_process_display_name: 'aodh_wsgi'
62 aodh::api::service_name: 'httpd'
63 aodh::api::enable_proxy_headers_parsing: true
64 tripleo.aodh_api.firewall_rules:
72 "%{hiera('fqdn_$NETWORK')}"
74 $NETWORK: {get_param: [ServiceNetMap, AodhApiNetwork]}
75 # NOTE: bind IP is found in Heat replacing the network name with the
76 # local node IP for the given network; replacement examples
77 # (eg. for internal_api):
79 # internal_api_uri -> [IP]
80 # internal_api_subnet - > IP/CIDR
81 aodh::wsgi::apache::bind_host: {get_param: [ServiceNetMap, AodhApiNetwork]}
82 service_config_settings:
83 get_attr: [AodhBase, role_data, service_config_settings]
85 include tripleo::profile::base::aodh::api
87 get_attr: [ApacheServiceBase, role_data, metadata_settings]
89 - name: Stop aodh_api service (running under httpd)
91 service: name=httpd state=stopped