%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/salt/states/
Upload File :
Create Path :
Current File : //usr/lib/python2.7/site-packages/salt/states/mongodb_database.pyo

�
���^c@@sMdZddlmZmZmZdZd�Zdddddd�ZdS(u�
Management of MongoDB Databases
===============================

:depends:   - pymongo Python module

Only deletion is supported, creation doesn't make sense and can be done using
:py:func:`mongodb_user.present <salt.states.mongodb_user.present>`.
i(tabsolute_importtprint_functiontunicode_literalsumongodb_databasecC@sdtkrtStS(Numongodb.db_exists(t__salt__t__virtualname__tFalse(((s@/usr/lib/python2.7/site-packages/salt/states/mongodb_database.pyt__virtual__scC@s�i|d6id6td6dd6}td|||||d|�r�tdrod|d<d	j|�|d<|Std
|||||d|�r�dj|�|d<d|d|<|Snd
j|�|d<|S(u�
    Ensure that the named database is absent. Note that creation doesn't make
    sense in MongoDB.

    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

    authdb
        The database in which to authenticate
    unameuchangesuresultuucommentumongodb.db_existstauthdbutestu/Database {0} is present and needs to be removedumongodb.db_removeuDatabase {0} has been removeduAbsentuDatabase {0} is not presentN(tTrueRt__opts__tNonetformat(tnametusertpasswordthosttportRtret((s@/usr/lib/python2.7/site-packages/salt/states/mongodb_database.pytabsents 

"


"N(	t__doc__t
__future__RRRRRR
R(((s@/usr/lib/python2.7/site-packages/salt/states/mongodb_database.pyt<module>
s	

Zerion Mini Shell 1.0