Merge "Move rabbit's clustering port away from the ephemeral port range"
[apex-tripleo-heat-templates.git] / puppet / services / ceilometer-collector.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Ceilometer Collector 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   MonitoringSubscriptionCeilometerCollector:
22     default: 'overcloud-ceilometer-collector'
23     type: string
24
25 resources:
26   CeilometerServiceBase:
27     type: ./ceilometer-base.yaml
28     properties:
29       ServiceNetMap: {get_param: ServiceNetMap}
30       DefaultPasswords: {get_param: DefaultPasswords}
31       EndpointMap: {get_param: EndpointMap}
32
33   MongoDbBase:
34     type: ./database/mongodb-base.yaml
35     properties:
36       ServiceNetMap: {get_param: ServiceNetMap}
37       DefaultPasswords: {get_param: DefaultPasswords}
38       EndpointMap: {get_param: EndpointMap}
39
40 outputs:
41   role_data:
42     description: Role data for the Ceilometer Collector role.
43     value:
44       service_name: ceilometer_collector
45       monitoring_subscription: {get_param: MonitoringSubscriptionCeilometerCollector}
46       config_settings:
47         map_merge:
48           - get_attr: [MongoDbBase, role_data, config_settings]
49           - get_attr: [CeilometerServiceBase, role_data, config_settings]
50       step_config: |
51         include ::tripleo::profile::base::ceilometer::collector