Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 8a6b5c8

Browse files
Adjusted readme example to mongodb_config and mongodb_set_parameters
1 parent 1a64235 commit 8a6b5c8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,18 @@ mongodb_replication_oplogsize: 1024 # specifies a maximum size in megabytes for
149149
# Configure setParameter option.
150150
# Example :
151151
mongodb_set_parameters:
152-
{
153-
"enableLocalhostAuthBypass": "true",
154-
"authenticationMechanisms": "SCRAM-SHA-1,MONGODB-CR",
155-
}
152+
enableLocalhostAuthBypass: "true"
153+
authenticationMechanisms: "SCRAM-SHA-1,MONGODB-CR"
156154

157155
## Extend config with arbitrary values
158156
# Example :
159157
mongodb_config:
160158
replication:
161-
- "enableMajorityReadConcern: false"
159+
enableMajorityReadConcern: "false"
160+
auditLog:
161+
destination: "file"
162+
format: "JSON"
163+
path: "/var/log/mongodb/audit.json"
162164

163165
# MMS Agent
164166
mongodb_mms_agent_pkg: https://cloud.mongodb.com/download/agent/monitoring/mongodb-mms-monitoring-agent_7.2.0.488-1_amd64.ubuntu1604.deb

0 commit comments

Comments
 (0)