b452c61b3ddf657b70629aaf9dc308712a50c018
[apex-tripleo-heat-templates.git] / docker / services / nova-metadata.yaml
1 heat_template_version: ocata
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   ServiceNetMap:
13     default: {}
14     description: Mapping of service_name -> network name. Typically set
15                  via parameter_defaults in the resource registry.  This
16                  mapping overrides those in ServiceNetMapDefaults.
17     type: json
18   DefaultPasswords:
19     default: {}
20     type: json
21
22
23 resources:
24
25   NovaMetadataBase:
26     type: ../../puppet/services/nova-metadata.yaml
27     properties:
28       EndpointMap: {get_param: EndpointMap}
29       ServiceNetMap: {get_param: ServiceNetMap}
30       DefaultPasswords: {get_param: DefaultPasswords}
31
32 outputs:
33   role_data:
34     description: Role data for the Nova Metadata service.
35     value:
36       service_name: {get_attr: [NovaMetadataBase, role_data, service_name]}
37       config_settings:
38         map_merge:
39           - get_attr: [NovaMetadataBase, role_data, config_settings]
40       step_config: &step_config
41         get_attr: [NovaMetadataBase, role_data, step_config]
42       service_config_settings: {get_attr: [NovaMetadataBase, role_data, service_config_settings]}
43       # BEGIN DOCKER SETTINGS
44       puppet_config:
45         config_volume: ''
46         puppet_tags: ''
47         step_config: *step_config
48         config_image: ''
49       kolla_config: {}
50       docker_config: {}