(compatible with InfluxDB version 0.9+)
salt.states.influxdb_user.
absent
(name, **client_args)¶Ensure that given user is absent.
salt.states.influxdb_user.
present
(name, password, admin=False, grants=None, **client_args)¶Ensure that given user is present.
Optional - Dict of database:privilege items associated with the user. Example:
Example:
example user present in influxdb:
influxdb_user.present:
- name: example
- password: somepassword
- admin: False
- grants:
foo_db: read
bar_db: all