salt.states.mongodb_database

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin state modules »

# salt.states.mongodb_database

Management of Mongodb databases

Only deletion is supported, creation doesnt make sense and can be done using mongodb_user.present

`salt.states.mongodb_database.` `absent`(name, user=None, password=None, host=None, port=None)

  Ensure that the named database is absent

  name
    The name of the database to remove
  user
    The user to connect as (must be able to create the user)
  password
    The password of the user
  host
    The host to connect to
  port
    The port to connect to

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin state modules »