Note
This module requires PyMongo to be installed.
salt.states.mongodb_user.
absent
(name, user=None, password=None, host=None, port=None, database='admin')Ensure that the named user is absent
salt.states.mongodb_user.
present
(name, passwd, database='admin', user=None, password=None, host='localhost', port=27017)Ensure that the user is present with the specified properties