Merge "OVN bridge mappings for tripleo"
[apex-tripleo-heat-templates.git] / puppet / services / nova-consoleauth.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Nova Consoleauth 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   MonitoringSubscriptionNovaConsoleauth:
22     default: 'overcloud-nova-consoleauth'
23     type: string
24   NovaConsoleauthLoggingSource:
25     type: json
26     default:
27       tag: openstack.nova.consoleauth
28       path: /var/log/nova/nova-consoleauth.log
29
30 resources:
31   NovaBase:
32     type: ./nova-base.yaml
33     properties:
34       ServiceNetMap: {get_param: ServiceNetMap}
35       DefaultPasswords: {get_param: DefaultPasswords}
36       EndpointMap: {get_param: EndpointMap}
37
38 outputs:
39   role_data:
40     description: Role data for the Nova Consoleauth service.
41     value:
42       service_name: nova_consoleauth
43       monitoring_subscription: {get_param: MonitoringSubscriptionNovaConsoleauth}
44       logging_source: {get_param: NovaConsoleauthLoggingSource}
45       logging_groups:
46         - nova
47       config_settings:
48         get_attr: [NovaBase, role_data, config_settings]
49       step_config: |
50         include tripleo::profile::base::nova::consoleauth
51       upgrade_tasks:
52         - name: Stop nova_consoleauth service
53           tags: step2
54           service: name=openstack-nova-consoleauth state=stopped