Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9280

Add an 'include' directive to mongodb.conf processing

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Admin, Usability
    • None
    • Server Security

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

      Attachments

        Activity

          People

            backlog-server-security Backlog - Security Team
            coar Ken Coar
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: