Bump template version for all templates to "ocata"
[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   ContrailDatabaseHostIP:
25     description: host IP address of Database node
26     type: string
27   ContrailDatabaseMinDisk:
28     description: Minimum disk size for database
29     type: number
30     default: 64
31
32 resources:
33   ContrailBase:
34     type: ./contrail-base.yaml
35     properties:
36       ServiceNetMap: {get_param: ServiceNetMap}
37       DefaultPasswords: {get_param: DefaultPasswords}
38       EndpointMap: {get_param: EndpointMap}
39
40 outputs:
41   role_data:
42     description: Role Contrail Database using composable services.
43     value:
44       service_name: contrail_database
45       config_settings:
46         map_merge:
47           - get_attr: [ContrailBase, role_data, config_settings]
48           - contrail::database::host_ip: {get_param: ContrailDatabaseHostIP}
49             contrail::database::minimum_diskGB: {get_param: ContrailDatabaseMinDisk}
50       step_config: |
51         include ::tripleo::profile::contrail::database