From 61b864cb8334dded78dbeb19f80dcbf44f7984de Mon Sep 17 00:00:00 2001 From: abednarik Date: Tue, 19 Sep 2017 08:08:25 -0300 Subject: [PATCH 1/1] Update tests and README about custom paths --- README.rst | 4 ++-- tests/pillar/cluster.sls | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.32.7