paulbsd-salt/states/influxdb/influxdb.conf.j2

33 lines
560 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "influxdb/map.jinja" import influxdb with context %}
[meta]
dir = "{{ influxdb.data_dir }}/meta"
[data]
dir = "{{ influxdb.data_dir }}/data"
wal-dir = "{{ influxdb.data_dir }}/wal"
[coordinator]
[retention]
[shard-precreation]
[monitor]
[http]
enabled = true
bind-address = ":{{ influxdb.port }}"
auth-enabled = true
log-enabled = true
[admin]
enabled = true
bind-address = ":{{ influxdb.adminport }}"
https-enabled = false
[ifql]
[logging]
[subscriber]