c4abc3078215ff80f9ea1cf4f0842d1cf935028b
[apex-tripleo-heat-templates.git] / puppet / services / ceilometer-agent-central.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Ceilometer Central 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   RedisPassword:
22     description: The password for the redis service account.
23     type: string
24     hidden: true
25   MonitoringSubscriptionCeilometerCentral:
26     default: 'overcloud-ceilometer-agent-central'
27     type: string
28   CeilometerAgentCentralLoggingSource:
29     type: json
30     default:
31       tag: openstack.ceilometer.agent.central
32       path: /var/log/ceilometer/central.log
33
34 resources:
35   CeilometerServiceBase:
36     type: ./ceilometer-base.yaml
37     properties:
38       ServiceNetMap: {get_param: ServiceNetMap}
39       DefaultPasswords: {get_param: DefaultPasswords}
40       EndpointMap: {get_param: EndpointMap}
41
42 outputs:
43   role_data:
44     description: Role data for the Ceilometer Central Agent role.
45     value:
46       service_name: ceilometer_agent_central
47       monitoring_subscription: {get_param: MonitoringSubscriptionCeilometerCentral}
48       logging_source: {get_param: CeilometerAgentCentralLoggingSource}
49       logging_groups:
50         - ceilometer
51       config_settings:
52         map_merge:
53           - get_attr: [CeilometerServiceBase, role_data, config_settings]
54           - ceilometer_redis_password: {get_param: RedisPassword}
55       step_config: |
56         include ::tripleo::profile::base::ceilometer::agent::central