%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/influxdb_database.pyo

�
���^c@@sAdZddlmZmZmZd�Zd�Zd�ZdS(ul
Management of Influxdb databases
================================

(compatible with InfluxDB version 0.9+)
i(tabsolute_importtprint_functiontunicode_literalscC@sdtkrdStS(u7
    Only load if the influxdb module is available
    uinfluxdb.db_existsuinfluxdb_database(t__salt__tFalse(((sA/usr/lib/python2.7/site-packages/salt/states/influxdb_database.pyt__virtual__
scK@s�i|d6id6td6dj|�d6}td||�s�tdrid
|d<dj|�|d<|Std	||�r�d
j|�|d<d|d|<|Sdj|�|d<t|d<|Sn|S(ub
    Ensure that given database is present.

    name
        Name of the database to create.
    unameuchangesuresultuDatabase {0} is already presentucommentuinfluxdb.db_existsutestu*Database {0} is absent and will be createduinfluxdb.create_dbuDatabase {0} has been createduPresentuFailed to create database {0}N(tTruetformatRt__opts__tNoneR(tnametclient_argstret((sA/usr/lib/python2.7/site-packages/salt/states/influxdb_database.pytpresents$




cK@s�i|d6id6td6dj|�d6}td||�r�tdrid
|d<dj|�|d<|Std	||�r�d
j|�|d<d|d|<|Sdj|�|d<t|d<|Sn|S(ua
    Ensure that given database is absent.

    name
        Name of the database to remove.
    unameuchangesuresultuDatabase {0} is not presentucommentuinfluxdb.db_existsutestu/Database {0} is present and needs to be removeduinfluxdb.drop_dbuDatabase {0} has been removeduAbsentuFailed to remove database {0}N(RRRRR	R(R
RR((sA/usr/lib/python2.7/site-packages/salt/states/influxdb_database.pytabsent4s$




N(t__doc__t
__future__RRRRR
R(((sA/usr/lib/python2.7/site-packages/salt/states/influxdb_database.pyt<module>s			

Zerion Mini Shell 1.0