[SERVER-9280] Add an 'include' directive to mongodb.conf processing Created: 08/Apr/13  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Admin, Usability
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Ken Coar Assignee: Backlog - Security Team
Resolution: Unresolved Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Security
Participants:

 Description   

Please add an 'include' directive to the mongodb.conf language, à la Apache, rsyslog, sudo, etc.

We use Puppet to manage our systems, and we have a module for installing the basic MongoDB packages and prerequisites – including the basic /etc/mongodb.conf file.

However, other modules are used to actually set up specific databases, replication sets, and so forth. It would be particularly useful if MongoDB either

1) allowed a directive such as

include "/etc/mongodb.d/*.js"

(like Apache), or

2) automatically processed files in a known location (/etc/mongodb.d/).

Some applications use globs as in [1]; others use something like
'includedir' (e.g., sudo) to process all files in the directory.

The processing should permit included files to include still others,
and files should be processed in a predictable order (such as
lexically ascending by filename).


Generated at Thu Feb 08 03:19:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.