bundles/influxdb: remove

This commit is contained in:
Franzi 2021-01-07 18:28:08 +01:00
parent 2ba4946975
commit 7f0fb7a6e2
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 0 additions and 94 deletions

View file

@ -1,40 +0,0 @@
reporting-disabled = true
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
wal-dir = "/var/lib/influxdb/wal"
max-values-per-tag = 150000
[retention]
enabled = true
check-interval = "30m0s"
[admin]
enabled = true
bind-address = "127.0.0.1:8083"
https-enabled = false
[http]
enabled = true
bind-address = ":8086"
log-enabled = true
https-enabled = false
auth-enabled = true
[[graphite]]
enabled = false
[[collectd]]
enabled = false
[[opentsdb]]
enabled = false
[[udp]]
enabled = false
[continuous_queries]
enabled = false

View file

@ -1,18 +0,0 @@
svc_systemd = {
'influxdb': {
'needs': {
'pkg_apt:influxdb',
},
},
}
files = {
'/etc/influxdb/influxdb.conf': {
'needs': {
'pkg_apt:influxdb',
},
'triggers': {
'svc_systemd:influxdb:restart',
},
},
}

View file

@ -1,36 +0,0 @@
from bundlewrap.utils.dicts import merge_dict
defaults = {
'apt': {
'packages': {
'influxdb': {},
},
'repos': {
'influxdb': {
'items': {
'deb https://repos.influxdata.com/{os} {os_release} stable',
},
},
},
},
}
if node.has_bundle('zfs'):
defaults = merge_dict(defaults, {
'apt': {
'packages': {
'influxdb': {
'needs': {
'zfs_dataset:tank/influxdb',
},
},
},
},
'zfs': {
'datasets': {
'tank/influxdb': {
'mountpoint': '/var/lib/influxdb',
},
},
},
})