bundles/influxdb: introduce

This commit is contained in:
Franzi 2021-04-24 10:17:56 +02:00
parent c97d9ab948
commit dc0695e38f
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,22 @@
repo.libs.tools.require_bundle(node, 'zfs')
directories = {
'/var/lib/influxdb': {
'owner': 'influxdb',
'group': 'influxdb',
'mode': '0750',
'needs': {
'pkg_apt:influxdb2',
},
},
}
svc_systemd = {
'influxdb': {
'needs': {
'directory:/var/lib/influxdb',
'pkg_apt:influxdb2',
},
},
}