From 4e175e998e96ab06b769d22885e33228837874bd Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 24 Apr 2021 09:12:25 +0200 Subject: [PATCH] nodes/htz-cloud.influxdb: add node --- nodes/htz-cloud/influxdb.py | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 nodes/htz-cloud/influxdb.py diff --git a/nodes/htz-cloud/influxdb.py b/nodes/htz-cloud/influxdb.py new file mode 100644 index 0000000..e8b2a17 --- /dev/null +++ b/nodes/htz-cloud/influxdb.py @@ -0,0 +1,46 @@ +nodes['htz-cloud.influxdb'] = { + 'hostname': '116.203.84.44', + 'bundles': { + 'zfs', + }, + 'groups': { + 'debian-buster', + }, + 'metadata': { + 'interfaces': { + 'eth0': { + 'ips': { + '116.203.84.44', + '2a01:4f8:c0c:8d56::1/64', + }, + 'gateway4': '172.31.1.1', + 'gateway6': 'fe80::1', + }, + 'ens10': { + 'ips': { + '172.19.137.6/32', + }, + 'routes': { + # VPN + '172.19.136.0/22': { + 'via': '172.19.137.1', + }, + }, + }, + }, + 'backups': { + 'exclude_from_backups': True, + }, + 'vm': { + 'cpu': 1, + 'ram': 2, + }, + 'zfs': { + 'pools': { + 'tank': { + 'device': '/dev/sdb', + }, + }, + }, + }, +}