salt.states.influxdb_user

Management of InfluxDB users

(compatible with InfluxDB version 0.5+)

New in version 2014.7.0.

salt.states.influxdb_user.absent(name, database=None, user=None, password=None, host=None, port=None)

Ensure that the named cluster admin or database user is absent.

name
The name of the user to remove
database
The database to remove the user from
user
The user to connect as (must be able to remove the user)
password
The password of the user
host
The host to connect to
port
The port to connect to
salt.states.influxdb_user.present(name, passwd, database=None, user=None, password=None, host=None, port=None)

Ensure that the cluster admin or database user is present.

name
The name of the user to manage
passwd
The password of the user
database
The database to create the user in
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