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).