Merge "Added further security functionality in release notes."
[apex-tripleo-heat-templates.git] / puppet / services / network / contrail-database.yaml
1 heat_template_version: ocata
2
3 description: >
4   Contrail Database service deployment using puppet, this YAML file
5   creates the interface between the HOT template
6   and the puppet manifest that actually installs
7   and configures Contrail Database.
8
9 parameters:
10   ServiceNetMap:
11     default: {}
12     description: Mapping of service_name -> network name. Typically set
13                  via parameter_defaults in the resource registry.  This
14                  mapping overrides those in ServiceNetMapDefaults.
15     type: json
16   DefaultPasswords:
17     default: {}
18     type: json
19   EndpointMap:
20     default: {}
21     description: Mapping of service endpoint -> protocol. Typically set
22                  via parameter_defaults in the resource registry.
23     type: json
24
25 resources:
26   ContrailBase:
27     type: ./contrail-base.yaml
28     properties:
29       ServiceNetMap: {get_param: ServiceNetMap}
30       DefaultPasswords: {get_param: DefaultPasswords}
31       EndpointMap: {get_param: EndpointMap}
32
33 outputs:
34   role_data:
35     description: Role Contrail Database using composable services.
36     value:
37       service_name: contrail_database
38       config_settings:
39         map_merge:
40           - get_attr: [ContrailBase, role_data, config_settings]
41           - contrail::database::host_ip: {get_param: [ServiceNetMap, ContrailDatabaseNetwork]}
42       step_config: |
43         include ::tripleo::network::contrail::database