Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / ceilometer-expirer.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Ceilometer Expirer service configured with Puppet
5   Note, This service is deprecated and will be removed in
6   future releases.
7
8 parameters:
9   ServiceData:
10     default: {}
11     description: Dictionary packing service data
12     type: json
13   ServiceNetMap:
14     default: {}
15     description: Mapping of service_name -> network name. Typically set
16                  via parameter_defaults in the resource registry.  This
17                  mapping overrides those in ServiceNetMapDefaults.
18     type: json
19   DefaultPasswords:
20     default: {}
21     type: json
22   RoleName:
23     default: ''
24     description: Role name on which the service is applied
25     type: string
26   RoleParameters:
27     default: {}
28     description: Parameters specific to the role
29     type: json
30   EndpointMap:
31     default: {}
32     description: Mapping of service endpoint -> protocol. Typically set
33                  via parameter_defaults in the resource registry.
34     type: json
35   MonitoringSubscriptionCeilometerExpirer:
36     default: 'overcloud-ceilometer-expirer'
37     type: string
38
39 resources:
40   CeilometerServiceBase:
41     type: ./ceilometer-base.yaml
42     properties:
43       ServiceData: {get_param: ServiceData}
44       ServiceNetMap: {get_param: ServiceNetMap}
45       DefaultPasswords: {get_param: DefaultPasswords}
46       EndpointMap: {get_param: EndpointMap}
47       RoleName: {get_param: RoleName}
48       RoleParameters: {get_param: RoleParameters}
49
50 outputs:
51   role_data:
52     description: Role data for the Ceilometer Expirer role.
53     value:
54       service_name: ceilometer_expirer
55       monitoring_subscription: {get_param: MonitoringSubscriptionCeilometerExpirer}
56       config_settings:
57         get_attr: [CeilometerServiceBase, role_data, config_settings]
58       step_config: |
59         include ::tripleo::profile::base::ceilometer::expirer