Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / disabled / mongodb-disabled.yaml
1 heat_template_version: pike
2
3 description: >
4   Mongodb service, disabled by default since pike
5
6 parameters:
7   ServiceData:
8     default: {}
9     description: Dictionary packing service data
10     type: json
11   ServiceNetMap:
12     default: {}
13     description: Mapping of service_name -> network name. Typically set
14                  via parameter_defaults in the resource registry.  This
15                  mapping overrides those in ServiceNetMapDefaults.
16     type: json
17   DefaultPasswords:
18     default: {}
19     type: json
20   EndpointMap:
21     default: {}
22     description: Mapping of service endpoint -> protocol. Typically set
23                  via parameter_defaults in the resource registry.
24     type: json
25   RoleName:
26     default: ''
27     description: Role name on which the service is applied
28     type: string
29   RoleParameters:
30     default: {}
31     description: Parameters specific to the role
32     type: json
33
34 outputs:
35   role_data:
36     description: Role data for the disabled MongoDB role.
37     value:
38       service_name: mongodb_disabled
39       upgrade_tasks:
40         - name: Check for mongodb service
41           stat: path=/usr/lib/systemd/system/mongod.service
42           tags: common
43           register: mongod_service
44         - name: Stop and disable mongodb service on upgrade
45           tags: step1
46           service: name=mongod state=stopped enabled=no
47           when: mongod_service.stat.exists