Merge "Combine parameter_default fields"
[apex-tripleo-heat-templates.git] / puppet / services / nova-api.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Nova API service configured with Puppet
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   NovaWorkers:
13     default: 0
14     description: Number of workers for Nova API service.
15     type: number
16
17 resources:
18   NovaBase:
19     type: ./nova-base.yaml
20
21 outputs:
22   role_data:
23     description: Role data for the Nova API service.
24     value:
25       config_settings:
26         map_merge:
27           - get_attr: [NovaBase, role_data, config_settings]
28           - nova::api::osapi_compute_workers: {get_param: NovaWorkers}
29           - nova::api::metadata_workers: {get_param: NovaWorkers}
30       step_config: |
31         include tripleo::profile::base::nova::api