Merge "Convert allNodesConfig properties to composable jinja2"
[apex-tripleo-heat-templates.git] / puppet / services / ceilometer-agent-notification.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Ceilometer Notification Agent service configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
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.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   MonitoringSubscriptionCeilometerNotification:
22     default: 'overcloud-ceilometer-agent-notification'
23     type: string
24
25
26 resources:
27   CeilometerServiceBase:
28     type: ./ceilometer-base.yaml
29     properties:
30       ServiceNetMap: {get_param: ServiceNetMap}
31       DefaultPasswords: {get_param: DefaultPasswords}
32       EndpointMap: {get_param: EndpointMap}
33
34 outputs:
35   role_data:
36     description: Role data for the Ceilometer Notification Agent role.
37     value:
38       service_name: ceilometer_agent_notification
39       monitoring_subscription: {get_param: MonitoringSubscriptionCeilometerNotification}
40       config_settings:
41         get_attr: [CeilometerServiceBase, role_data, config_settings]
42       step_config: |
43         include ::tripleo::profile::base::ceilometer::agent::notification