X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Finfluxdb.git;a=blobdiff_plain;f=README.rst;h=c79788f4bd6c856dfcf57007c5afa65e347a577a;hp=60d3cb863efbffc644207ba41381b86c3f6c4c4d;hb=363844afb06635c9194086497341ea490c5e77e2;hpb=5fd7577d481b8a9c28c36183e0ee8ca8523abc28 diff --git a/README.rst b/README.rst index 60d3cb8..c79788f 100644 --- a/README.rst +++ b/README.rst @@ -230,6 +230,40 @@ Deploy influxdb apt repository (using linux formula): source: 'deb https://repos.influxdata.com/${linux:system:os} ${linux:system:dist} stable' key_url: 'https://repos.influxdata.com/influxdb.key' +InfluxDB client for configuring databases, users and retention policies: + +.. code-block:: yaml + + influxdb: + client: + enabled: true + server: + protocol: http + host: 127.0.0.1 + port: 8086 + user: admin + password: foobar + user: + user1: + enabled: true + admin: true + name: username1 + database: + mydb1: + enabled: true + name: mydb1 + retention_policy: + - name: rp_db1 + duration: 30d + replication: 1 + is_default: true + grant: + username1_mydb1: + enabled: true + user: username1 + database: mydb1 + privilege: all + Read more =========