bundlewrap/nodes/rx300.py

133 lines
3.5 KiB
Python
Raw Normal View History

# To use the serial console in iRMC, set up grub as follows:
# GRUB_TIMEOUT=30
# GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,115200 console=tty0"
# GRUB_TERMINAL=serial
# GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
2020-10-25 12:54:19 +00:00
nodes['rx300'] = {
'hostname': '31.47.232.106',
2020-10-25 15:46:45 +00:00
'bundles': {
'lm-sensors',
'miniflux',
'postgresql',
2021-05-20 16:24:23 +00:00
'smartd',
'travelynx',
2021-05-23 12:33:20 +00:00
'vmhost',
2020-10-25 15:46:45 +00:00
'zfs',
},
2020-11-21 09:55:09 +00:00
'groups': {
2021-07-01 16:23:30 +00:00
'debian-bullseye',
'webserver',
2020-11-21 09:55:09 +00:00
},
2020-10-25 15:46:45 +00:00
'metadata': {
2020-11-09 14:16:29 +00:00
'interfaces': {
2021-05-23 12:33:20 +00:00
'br0': {
2020-11-09 14:16:29 +00:00
'ips': {
'31.47.232.106/29',
'2a00:f820:528::2/64',
2020-11-09 14:16:29 +00:00
},
'gateway4': '31.47.232.105',
'gateway6': '2a00:f820:528::1',
},
},
'apt': {
'packages': {
'ipmitool': {},
2020-11-09 14:16:29 +00:00
},
2021-07-01 16:23:30 +00:00
# XXX remove this once nginx.org has packages for debian bullseye
'repos': {
'nginx': {
'items': atomic({
'deb http://nginx.org/packages/debian buster nginx',
}),
},
},
2020-11-09 14:16:29 +00:00
},
'icinga_options': {
'pretty_name': 'franzi.business',
},
'miniflux': {
'domain': 'rss.franzi.business',
},
'nginx': {
'vhosts': {
'miniflux': {
'ssl': '_.franzi.business',
},
'unicornsden': {
'domain': 'unicornsden.franzi.business',
'ssl': '_.franzi.business',
'webroot_config': {
'owner': 'kunsi',
'group': 'kunsi',
'mode': '0755',
},
},
'travelynx': {
'domain': 'travelynx.franzi.business',
'ssl': '_.franzi.business',
'proxy': {
'/': {
'target': 'http://127.0.0.1:22020',
},
},
'extras': True,
},
},
},
'postgresql': {
'version': '13',
},
2021-05-20 16:24:23 +00:00
'smartd': {
'disks': {
'/dev/nvme0',
},
},
'systemd-networkd': {
2021-05-23 12:33:20 +00:00
'bridges': {
'br0': {
'match': {
'eno1',
2021-05-23 12:33:20 +00:00
},
},
},
},
'travelynx': {
'version': '1.20.2',
'mail_from': 'travelynx@franzi.business',
},
'users': {
'kunsi': {
2021-05-23 12:33:20 +00:00
'groups': {
'libvirt',
},
},
},
2020-10-25 15:46:45 +00:00
'zfs': {
2020-10-25 15:49:36 +00:00
'module_options': {
'zfs_arc_max_gb': 16,
2020-10-25 15:49:36 +00:00
},
2020-10-25 15:46:45 +00:00
'pools': {
'tank': {
'raidz': {
'/dev/sda',
'/dev/sdb',
'/dev/sdc',
'/dev/sdd',
},
},
},
2021-05-23 12:33:20 +00:00
'datasets': {
'tank/libvirt': {
'mountpoint': '/var/lib/libvirt',
'compression': 'on',
},
},
2020-10-25 15:46:45 +00:00
},
'vm': {
'cpu': 32,
2021-05-20 15:51:50 +00:00
'ram': 256,
2020-10-25 15:46:45 +00:00
},
},
2020-10-25 12:54:19 +00:00
}