bundles/influxdb: introduce
This commit is contained in:
parent
c97d9ab948
commit
dc0695e38f
2 changed files with 56 additions and 0 deletions
22
bundles/influxdb2/items.py
Normal file
22
bundles/influxdb2/items.py
Normal 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',
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue