0d3a9ead28549503045c6be460f9803a07e4b909
[apex-tripleo-heat-templates.git] / puppet / services / database / mongodb-base.yaml
1 heat_template_version: ocata
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   DefaultPasswords:
25     default: {}
26     type: json
27   RoleName:
28     default: ''
29     description: Role name on which the service is applied
30     type: string
31   RoleParameters:
32     default: {}
33     description: Parameters specific to the role
34     type: json
35   EndpointMap:
36     default: {}
37     description: Mapping of service endpoint -> protocol. Typically set
38                  via parameter_defaults in the resource registry.
39     type: json
40
41 outputs:
42   aux_parameters:
43     description: Additional parameters referenced outside the base file
44     value:
45       rplset_name: {get_param: MongoDbReplset}
46   role_data:
47     description: Role data for the MongoDB base service.
48     value:
49       service_name: mongodb_base
50       config_settings:
51         mongodb::server::nojournal: {get_param: MongoDbNoJournal}
52         mongodb::server::journal: false
53         mongodb::server::ipv6: {get_param: MongoDbIPv6}
54         mongodb::server::replset: {get_param: MongoDbReplset}