File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 10
10
11
11
processManagement:
12
12
fork: {{ mongodb_processmanagement_fork | to_nice_json}}
13
+ {% if mongodb_pidfile_path is defined and mongodb_pidfile_path != '' -%}
14
+ pidFilePath: {{ mongodb_pidfile_path }}
15
+ {% endif %}
13
16
14
17
{% if mongodb_replication_replset -%}
15
18
replication:
Original file line number Diff line number Diff line change 10
10
11
11
processManagement:
12
12
fork: {{ mongodb_processmanagement_fork | to_nice_json }}
13
+ {% if mongodb_pidfile_path is defined and mongodb_pidfile_path != '' -%}
14
+ pidFilePath: {{ mongodb_pidfile_path }}
15
+ {% endif %}
13
16
14
17
security:
15
18
authorization: 'disabled'
Original file line number Diff line number Diff line change @@ -7,3 +7,5 @@ mongodb_repository:
7
7
8
8
mongodb_repository_gpgkey :
9
9
" 3.2 " : " https://www.mongodb.org/static/pgp/server-3.2.asc"
10
+
11
+ mongodb_pidfile_path : " {{ '/var/run/mongodb/mongod.pid' if ('mongodb-org' in mongodb_package) else '' }}"
You can’t perform that action at this time.
0 commit comments