I keep getting the following error when I try to run the config in vagrant. I have tried different things to resolve, but nothing seems to be working.
Error parsing YAML config: duplicate key: security.authorization(canonical key: security.authorization)
try ‘mongod --help’ for more information
My config file is stored in vagrant home, under:
mongod.conf file contains:
Command used to run the config file:
mongod --config /etc/mongod.conf
If you have any suggestions that would help. Please let me know if further details are needed.
Thank you in advance!