bundlewrap/bundles/influxdb2/metadata.py

41 lines
930 B
Python
Raw Permalink Normal View History

2021-04-24 08:17:56 +00:00
defaults = {
'apt': {
'packages': {
'influxdb2': {
'needs': {
'zfs_dataset:tank/influxdb2',
},
},
},
'repos': {
'influxdb': {
'items': {
'deb https://repos.influxdata.com/{os} stable main',
2021-04-24 08:17:56 +00:00
},
},
},
},
'backups': {
'paths': {
'/var/lib/influxdb',
},
},
2021-04-24 08:17:56 +00:00
'icinga2_api': {
'telegraf': {
'services': {
'INFLUXDB PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C influxd -c 1:',
2021-04-24 08:17:56 +00:00
},
},
},
},
'zfs': {
'datasets': {
'tank/influxdb2': {
'mountpoint': '/var/lib/influxdb',
'atime': 'off',
2021-04-24 08:17:56 +00:00
},
},
},
}