influxdb08_user
¶
Manage InfluxDB 0.5-0.8 users statefully.
Important
You can optionally specify default connection parameters via the general influxdb08 setup.
- saltext.influxdb.states.influxdb08_user.present(name, passwd, database=None, user=None, password=None, host=None, port=None)[source]¶
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
- saltext.influxdb.states.influxdb08_user.absent(name, database=None, user=None, password=None, host=None, port=None)[source]¶
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