Merge "Enable Neutron LBaaS Integration"
[apex-tripleo-heat-templates.git] / docker / services / nova-metadata.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack containerized Nova Metadata service
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   ServiceData:
13     default: {}
14     description: Dictionary packing service data
15     type: json
16   ServiceNetMap:
17     default: {}
18     description: Mapping of service_name -> network name. Typically set
19                  via parameter_defaults in the resource registry.  This
20                  mapping overrides those in ServiceNetMapDefaults.
21     type: json
22   DefaultPasswords:
23     default: {}
24     type: json
25   RoleName:
26     default: ''
27     description: Role name on which the service is applied
28     type: string
29   RoleParameters:
30     default: {}
31     description: Parameters specific to the role
32     type: json
33
34 resources:
35
36   NovaMetadataBase:
37     type: ../../puppet/services/nova-metadata.yaml
38     properties:
39       EndpointMap: {get_param: EndpointMap}
40       ServiceData: {get_param: ServiceData}
41       ServiceNetMap: {get_param: ServiceNetMap}
42       DefaultPasswords: {get_param: DefaultPasswords}
43       RoleName: {get_param: RoleName}
44       RoleParameters: {get_param: RoleParameters}
45
46 outputs:
47   role_data:
48     description: Role data for the Nova Metadata service.
49     value:
50       service_name: {get_attr: [NovaMetadataBase, role_data, service_name]}
51       config_settings:
52         map_merge:
53           - get_attr: [NovaMetadataBase, role_data, config_settings]
54       step_config: &step_config
55         get_attr: [NovaMetadataBase, role_data, step_config]
56       service_config_settings: {get_attr: [NovaMetadataBase, role_data, service_config_settings]}
57       # BEGIN DOCKER SETTINGS
58       puppet_config:
59         config_volume: ''
60         puppet_tags: ''
61         step_config: *step_config
62         config_image: ''
63       kolla_config: {}
64       docker_config: {}