Merge pull request #17 from SwannCroiset/turn-off-query-log
Disable Query log per default
diff --git a/influxdb/files/influxdb.conf b/influxdb/files/influxdb.conf
index 4bb2630..26477fe 100644
--- a/influxdb/files/influxdb.conf
+++ b/influxdb/files/influxdb.conf
@@ -7,7 +7,7 @@
# to track the number of instances running and the versions, which
# is very helpful for us.
# Change this option to true to disable reporting.
-reporting-disabled = false
+reporting-disabled = {{ server.reporting_disabled | lower }}
# we'll try to get the hostname automatically, but if it the os returns something
# that isn't resolvable by other servers in the cluster, use this option to
diff --git a/influxdb/map.jinja b/influxdb/map.jinja
index def8e92..913714d 100644
--- a/influxdb/map.jinja
+++ b/influxdb/map.jinja
@@ -5,6 +5,7 @@
pkgs:
- influxdb
service: influxdb
+ reporting_disabled: true
http:
enabled: true
bind: