From: abednarik Date: Tue, 19 Sep 2017 11:08:25 +0000 (-0300) Subject: Update tests and README about custom paths X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Finfluxdb.git;a=commitdiff_plain;h=61b864cb8334dded78dbeb19f80dcbf44f7984de Update tests and README about custom paths --- diff --git a/README.rst b/README.rst index c79788f..2b8349d 100644 --- a/README.rst +++ b/README.rst @@ -40,8 +40,8 @@ Single-node influxdb, SSL for http frontend: key_file: /etc/influxdb/ssl/key.pem cert_file: /etc/influxdb/ssl/cert.pem -Single-node influxdb where you specify paths for data and metastore directories. You -need to ensure that directories exist: +Single-node influxdb where you specify paths for data and metastore directories. Custom +directories are created by this formula: .. code-block:: yaml diff --git a/tests/pillar/cluster.sls b/tests/pillar/cluster.sls index e5717ff..4686c70 100644 --- a/tests/pillar/cluster.sls +++ b/tests/pillar/cluster.sls @@ -1,7 +1,11 @@ influxdb: server: enabled: true + data: + dir: /opt/influxdb/data + wal_dir: /opt/influxdb/wal meta: + dir: /opt/influxdb/meta enabled: true bind: address: 0.0.0.0