saltstack/salt — pull request #4693 by cvrebert (2013-05-01 05:15:02+00:00)
Title: fixes to modules.mongodb.db_exists

* `database` argument was redundant to `name`
* `db_list` returns an error message string when an error happens; handle this case
* the mongodb Python API docs explicitly say that a list is returned, so we can just use `in`