Code Review
/
salt-formulas
/
influxdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Allow the configuration of meta and data directories
[salt-formulas/influxdb.git]
/
influxdb
/
files
/
influxdb.conf
diff --git
a/influxdb/files/influxdb.conf
b/influxdb/files/influxdb.conf
index 2fad01987d6a9cce631e985f9c64170d1e004263..6cc6d0261ac897890d6f2414d4915c9c38a8029c 100644
(file)
--- a/
influxdb/files/influxdb.conf
+++ b/
influxdb/files/influxdb.conf
@@
-24,7
+24,7
@@
reporting-disabled = false
{%- if server.meta.enabled %}
[meta]
# Where the metadata/raft database is stored
{%- if server.meta.enabled %}
[meta]
# Where the metadata/raft database is stored
- dir = "
/var/lib/influxdb/meta
"
+ dir = "
{{ server.meta.dir }}
"
retention-autocreate = true
retention-autocreate = true
@@
-57,10
+57,10
@@
reporting-disabled = false
# Controls if this node holds time series data shards in the cluster
enabled = true
# Controls if this node holds time series data shards in the cluster
enabled = true
- dir = "
/var/lib/influxdb/data
"
+ dir = "
{{ server.data.dir }}
"
# These are the WAL settings for the storage engine >= 0.9.3
# These are the WAL settings for the storage engine >= 0.9.3
- wal-dir = "
/var/lib/influxdb/wal
"
+ wal-dir = "
{{ server.data.wal_dir }}
"
wal-logging-enabled = true
data-logging-enabled = true
wal-logging-enabled = true
data-logging-enabled = true