Merge "docker bootstrap service commands"
[apex-tripleo-heat-templates.git] / puppet / services / octavia-health-manager.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Octavia Health Manager service.
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   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   MonitoringSubscriptionOctaviaHealthManager:
30     default: 'overcloud-octavia-health-manager'
31     type: string
32   OctaviaHealthManagerLoggingSource:
33     type: json
34     default:
35       tag: openstack.octavia.health-manager
36       path: /var/log/octavia/health-manager.log
37   OctaviaHeartbeatKey:
38     type: string
39     description: Key to identify heartbeat messages for amphorae.
40     hidden: true
41
42 resources:
43
44   OctaviaBase:
45     type: ./octavia-base.yaml
46     properties:
47       ServiceNetMap: {get_param: ServiceNetMap}
48       DefaultPasswords: {get_param: DefaultPasswords}
49       EndpointMap: {get_param: EndpointMap}
50       RoleName: {get_param: RoleName}
51       RoleParameters: {get_param: RoleParameters}
52
53 outputs:
54   role_data:
55     description: Role data for the Octavia Health Manager service.
56     value:
57       service_name: octavia_health_manager
58       monitoring_subscription: {get_param: MonitoringSubscriptionOctaviaHealthManager}
59       logging_source: {get_param: OctaviaHealthManagerLoggingSource}
60       logging_groups:
61         - octavia
62       config_settings:
63         map_merge:
64           - get_attr: [OctaviaBase, role_data, config_settings]
65           - octavia::health_manager::heartbeat_key: {get_param: OctaviaHeartbeatKey}
66             octavia::health_manager::event_streamer_driver: 'queue_event_streamer'
67       step_config: |
68         include tripleo::profile::base::octavia::health_manager
69
70
71