influxdb08_database

Manage InfluxDB 0.5-0.8 databases statefully.

Important

You can optionally specify default connection parameters via the general influxdb08 setup.

saltext.influxdb.states.influxdb08_database.present(name, user=None, password=None, host=None, port=None)[source]

Ensure that the named database is present

name

The name of the database to create

user

The user to connect as (must be able to remove the database)

password

The password of the user

host

The host to connect to

port

The port to connect to

saltext.influxdb.states.influxdb08_database.absent(name, user=None, password=None, host=None, port=None)[source]

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 remove the database)

password

The password of the user

host

The host to connect to

port

The port to connect to