X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Finfluxdb.git;a=blobdiff_plain;f=README.rst;h=3027252d59513ce89088db29eae93d7f4114786c;hp=23b12f0004268a81814f44f55af05992278f6732;hb=6ae62419c8cb2ec02394b844d990e208fcaefa29;hpb=89c128a4f86678034b05b914cfd0a8c716af55e3 diff --git a/README.rst b/README.rst index 23b12f0..3027252 100644 --- a/README.rst +++ b/README.rst @@ -108,6 +108,30 @@ Single-node influxdb with new databases: enabled: true name: mydb2 +Manage the retention policies for a database: + +.. code-block:: yaml + + influxdb: + server: + database: + mydb1: + enabled: true + name: mydb1 + retention_policy: + - name: rp_db1 + duration: 30d + replication: 1 + is_default: true + +Where default values are: + +* name = autogen +* duration = INF +* replication = 1 +* is_default: false + + Here is how to manage grants on database: .. code-block:: yaml