Adds network/cidr mapping into a new service property
[apex-tripleo-heat-templates.git] / puppet / services / database / mongodb-base.yaml
1 heat_template_version: pike
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   ServiceData:
19     default: {}
20     description: Dictionary packing service data
21     type: json
22   ServiceNetMap:
23     default: {}
24     description: Mapping of service_name -> network name. Typically set
25                  via parameter_defaults in the resource registry.  This
26                  mapping overrides those in ServiceNetMapDefaults.
27     type: json
28   DefaultPasswords:
29     default: {}
30     type: json
31   RoleName:
32     default: ''
33     description: Role name on which the service is applied
34     type: string
35   RoleParameters:
36     default: {}
37     description: Parameters specific to the role
38     type: json
39   EndpointMap:
40     default: {}
41     description: Mapping of service endpoint -> protocol. Typically set
42                  via parameter_defaults in the resource registry.
43     type: json
44
45 outputs:
46   aux_parameters:
47     description: Additional parameters referenced outside the base file
48     value:
49       rplset_name: {get_param: MongoDbReplset}
50   role_data:
51     description: Role data for the MongoDB base service.
52     value:
53       service_name: mongodb_base
54       config_settings:
55         mongodb::server::nojournal: {get_param: MongoDbNoJournal}
56         mongodb::server::journal: false
57         mongodb::server::ipv6: {get_param: MongoDbIPv6}
58         mongodb::server::replset: {get_param: MongoDbReplset}