File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -2888,6 +2888,22 @@ inherit:
28882888 file : options-shared.yaml
28892889---
28902890program : mongod
2891+ name : outputConfig
2892+ args : null
2893+ directive : option
2894+ description : |
2895+
2896+ .. versionadded:: 4.2
2897+
2898+ Outputs the resolved YAML configuration document for the {{program}} to ``stdout``
2899+ and halts the server instance. For configuration options using externally
2900+ sourced values, {{role}} returns the resolved value for those options. This
2901+ may include any configured passwords or secrets previously obfuscated through
2902+ the external source.
2903+
2904+ optional : true
2905+ ---
2906+ program : mongod
28912907name : enableFreeMonitoring
28922908args : <runtime|on|off>
28932909directive : option
Original file line number Diff line number Diff line change @@ -185,6 +185,13 @@ inherit:
185185 file : options-mongod.yaml
186186---
187187program : mongos
188+ name : outputConfig
189+ inherit :
190+ name : outputConfig
191+ program : mongod
192+ file : options-mongod.yaml
193+ ---
194+ program : mongos
188195name : configdb
189196args : " <replicasetName>/<config1>,<config2>..."
190197directive : option
Original file line number Diff line number Diff line change @@ -132,6 +132,8 @@ Core Options
132132
133133.. include:: /includes/option/option-mongod-serviceExecutor.rst
134134
135+ .. include:: /includes/option/option-mongod-outputConfig.rst
136+
135137Free Monitoring
136138~~~~~~~~~~~~~~~
137139
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ Core Options
102102
103103.. include:: /includes/option/option-mongos-timeZoneInfo.rst
104104
105+ .. include:: /includes/option/option-mongos-outputConfig.rst
106+
105107Sharded Cluster Options
106108~~~~~~~~~~~~~~~~~~~~~~~
107109
You can’t perform that action at this time.
0 commit comments