Merge "Support Redfish hardware in the overcloud Ironic"
[apex-tripleo-heat-templates.git] / puppet / services / nova-metadata.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Nova API 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   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   NovaWorkers:
30     default: 0
31     description: Number of workers for Nova API service.
32     type: number
33
34 conditions:
35   nova_workers_zero: {equals : [{get_param: NovaWorkers}, 0]}
36
37 outputs:
38   role_data:
39     description: Role data for the Nova Metadata service.
40     value:
41       service_name: nova_metadata
42       config_settings:
43         map_merge:
44         - nova::api::metadata_listen: {get_param: [ServiceNetMap, NovaMetadataNetwork]}
45         -
46           if:
47           - nova_workers_zero
48           - {}
49           - nova::api::metadata_workers: {get_param: NovaWorkers}
50       step_config: ""