From: Alejandro Bednarik Date: Tue, 19 Sep 2017 11:09:12 +0000 (-0300) Subject: Merge pull request #4 from Perceptyx/doc_tests_custom_paths X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Finfluxdb.git;a=commitdiff_plain;h=9bdd2560a41df0d453cc924c2749d0ddc522f7a3;hp=eaa454de4314ad8f25c88490f1e247435d83a48d Merge pull request #4 from Perceptyx/doc_tests_custom_paths 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