9787732f81a569dfdb7709b3d11444b0a0c31ffa
[apex-tripleo-heat-templates.git] / puppet / services / database / mongodb-base.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Configuration details for MongoDB service using composable roles
5
6 parameters:
7   MongoDbNoJournal:
8     default: false
9     description: Should MongoDb journaling be disabled
10     type: boolean
11   MongoDbIPv6:
12     default: false
13     description: Enable IPv6 if MongoDB VIP is IPv6
14     type: boolean
15   MongoDbReplset:
16     type: string
17     default: "tripleo"
18   ServiceNetMap:
19     default: {}
20     description: Mapping of service_name -> network name. Typically set
21                  via parameter_defaults in the resource registry.  This
22                  mapping overrides those in ServiceNetMapDefaults.
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29
30 outputs:
31   aux_parameters:
32     description: Additional parameters referenced outside the base file
33     value:
34       rplset_name: {get_param: MongoDbReplset}
35   role_data:
36     description: Role data for the MongoDB base service.
37     value:
38       service_name: mongodb_base
39       config_settings:
40         mongodb::server::nojournal: {get_param: MongoDbNoJournal}
41         mongodb::server::journal: false
42         mongodb::server::ipv6: {get_param: MongoDbIPv6}
43         mongodb::server::replset: {get_param: MongoDbReplset}