updated influxdb state
This commit is contained in:
parent
04f3573c90
commit
e33a258079
@ -2,8 +2,6 @@
|
||||
influxdb:
|
||||
enabled: true
|
||||
mirror: "https://dl.influxdata.com/influxdb/releases"
|
||||
dependencies:
|
||||
- collectd
|
||||
install_dir: "/usr/local/apps"
|
||||
release_dir: "/usr/local/apps/releases"
|
||||
config_dir: "/etc/influxdb"
|
||||
@ -12,8 +10,11 @@ influxdb:
|
||||
version: "1.8.0"
|
||||
os: linux
|
||||
arch: amd64
|
||||
uid: 901
|
||||
gid: 901
|
||||
port: 8086
|
||||
adminport: 8083
|
||||
binaries:
|
||||
- influx
|
||||
- influxd
|
||||
user:
|
||||
name: influxdb
|
||||
uid: 901
|
||||
|
@ -17,13 +17,13 @@
|
||||
|
||||
[http]
|
||||
enabled = true
|
||||
bind-address = ":8086"
|
||||
bind-address = ":{{ influxdb.port }}"
|
||||
auth-enabled = true
|
||||
log-enabled = true
|
||||
|
||||
[admin]
|
||||
enabled = true
|
||||
bind-address = ":8083"
|
||||
bind-address = ":{{ influxdb.adminport }}"
|
||||
https-enabled = false
|
||||
|
||||
[ifql]
|
||||
|
@ -18,10 +18,6 @@ influxdb-user:
|
||||
- watch_in:
|
||||
- service: influxdb-service
|
||||
|
||||
influxdb-dependencies:
|
||||
pkg.installed:
|
||||
- pkgs: {{ influxdb.dependencies }}
|
||||
|
||||
influxdb-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ influxdb.release_dir }}/influxdb-{{ influxdb.version }}
|
||||
@ -47,7 +43,7 @@ influxdb-data-dir:
|
||||
- watch_in:
|
||||
- service: influxdb-service
|
||||
|
||||
{%- for bin in ['influx', 'influxd'] %}
|
||||
{%- for bin in influxdb.binaries %}
|
||||
influxdb-{{ bin }}-symlink:
|
||||
file.symlink:
|
||||
- name: /usr/local/sbin/{{ bin }}
|
||||
|
Loading…
Reference in New Issue
Block a user