2020-11-08 14:05:17 +00:00
|
|
|
# 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'] = {
|
2021-06-11 13:02:43 +00:00
|
|
|
'hostname': '31.47.232.106',
|
2020-10-25 15:46:45 +00:00
|
|
|
'bundles': {
|
2021-07-10 12:22:19 +00:00
|
|
|
'check-mail-received',
|
2021-10-18 17:42:27 +00:00
|
|
|
'ipmitool',
|
2021-07-11 13:24:08 +00:00
|
|
|
'jenkins-ci',
|
2023-05-06 15:26:25 +00:00
|
|
|
'jugendhackt_tools',
|
2021-06-05 10:23:09 +00:00
|
|
|
'lm-sensors',
|
2022-11-06 17:52:38 +00:00
|
|
|
'minecraft',
|
2021-07-15 16:41:27 +00:00
|
|
|
'nodejs',
|
2021-07-23 08:07:35 +00:00
|
|
|
'oidentd',
|
2021-07-11 13:23:49 +00:00
|
|
|
'php',
|
2021-06-29 12:24:10 +00:00
|
|
|
'postgresql',
|
2021-07-18 05:56:49 +00:00
|
|
|
'redis',
|
2021-05-20 16:24:23 +00:00
|
|
|
'smartd',
|
2021-07-23 17:15:08 +00:00
|
|
|
'unbound',
|
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',
|
2021-06-29 12:24:10 +00:00
|
|
|
'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': {
|
2021-06-11 13:02:43 +00:00
|
|
|
'31.47.232.106/29',
|
|
|
|
'2a00:f820:528::2/64',
|
2020-11-09 14:16:29 +00:00
|
|
|
},
|
2021-06-11 13:02:43 +00:00
|
|
|
'gateway4': '31.47.232.105',
|
|
|
|
'gateway6': '2a00:f820:528::1',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
2021-07-09 13:56:26 +00:00
|
|
|
# for franzi.business deployment
|
2021-07-09 14:38:26 +00:00
|
|
|
'ruby': {},
|
|
|
|
'ruby-dev': {},
|
|
|
|
'ruby-bundler': {},
|
2021-07-11 13:23:49 +00:00
|
|
|
|
2021-09-08 12:36:52 +00:00
|
|
|
# for `bw test` on jenkins
|
|
|
|
'bind9utils': {},
|
2021-07-01 16:23:30 +00:00
|
|
|
},
|
2020-11-09 14:16:29 +00:00
|
|
|
},
|
2021-07-10 12:22:19 +00:00
|
|
|
'check-mail-received': {
|
|
|
|
't-online': {
|
|
|
|
'email': 'franzi.kunsmann@t-online.de',
|
|
|
|
'imap_host': 'secureimap.t-online.de',
|
|
|
|
'imap_pass': bwpass.attr('t-online.de/franzi.kunsmann@t-online.de', 'imap'),
|
|
|
|
},
|
2021-07-10 10:59:54 +00:00
|
|
|
},
|
2021-07-01 14:15:03 +00:00
|
|
|
'icinga_options': {
|
|
|
|
'pretty_name': 'franzi.business',
|
2023-09-09 14:45:28 +00:00
|
|
|
'vars.notification.sms': False,
|
2021-07-01 14:15:03 +00:00
|
|
|
},
|
2021-07-11 13:47:45 +00:00
|
|
|
'jenkins-ci': {
|
|
|
|
'install_ssh_key': True,
|
2021-07-16 12:20:01 +00:00
|
|
|
'domain': 'jenkins.franzi.business',
|
2022-02-19 17:53:49 +00:00
|
|
|
'writeable_paths': {
|
|
|
|
'/var/www/franzi.business', # for deployment task
|
|
|
|
},
|
2021-07-11 13:47:45 +00:00
|
|
|
},
|
2023-05-06 15:26:25 +00:00
|
|
|
'jugendhackt_tools': {
|
|
|
|
'allowed_hosts': ['jh.franzi.business'],
|
|
|
|
'timezone': 'Europe/Berlin',
|
|
|
|
},
|
2022-11-06 17:52:38 +00:00
|
|
|
'minecraft': {
|
|
|
|
'heap_mb': 16*1024,
|
|
|
|
'sha1': '82be5e1bbdfd1bcb001644780562282fd42ee5a9',
|
|
|
|
'version': ('1.19.2', '261'),
|
|
|
|
'allowlist': {
|
|
|
|
# use https://mcuuid.net/
|
|
|
|
'kunsi': 'a2b93640-9dff-4c3c-a6c7-bd75329d8997',
|
|
|
|
'sophie': '7e593cbb-9d61-4d46-a416-6edbcf8a2109',
|
|
|
|
},
|
|
|
|
'ops': {
|
|
|
|
'kunsi': 'a2b93640-9dff-4c3c-a6c7-bd75329d8997',
|
|
|
|
},
|
|
|
|
'restrict-to': {'*'},
|
|
|
|
},
|
2021-07-01 14:10:06 +00:00
|
|
|
'nginx': {
|
2021-07-24 05:13:35 +00:00
|
|
|
'security.txt': {
|
|
|
|
'contact': 'mailto:security@kunsmann.eu',
|
|
|
|
'Encryption': 'https://franzi.business/gpg_hi-kunsmann.eu.asc',
|
|
|
|
},
|
2021-07-01 14:10:06 +00:00
|
|
|
'vhosts': {
|
2021-07-16 12:20:01 +00:00
|
|
|
'jenkins-ci': {'ssl': '_.franzi.business'},
|
2023-05-06 15:26:25 +00:00
|
|
|
'jugendhackt_tools': {
|
|
|
|
'domain': 'jh.franzi.business',
|
|
|
|
'ssl': '_.franzi.business',
|
|
|
|
'locations': {
|
|
|
|
'/': {
|
|
|
|
'target': 'http://127.0.0.1:22090/',
|
|
|
|
},
|
|
|
|
'/static/': {
|
2023-05-15 10:06:41 +00:00
|
|
|
'alias': '/opt/jugendhackt_tools/src/static/',
|
2023-05-06 15:26:25 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-07-01 14:10:06 +00:00
|
|
|
},
|
2021-07-23 17:15:08 +00:00
|
|
|
'worker_processes': 8,
|
2021-07-01 14:10:06 +00:00
|
|
|
},
|
2021-07-23 08:07:35 +00:00
|
|
|
'oidentd': {
|
|
|
|
'allows': {
|
|
|
|
'kunsi': {
|
|
|
|
'spoof',
|
|
|
|
'spoof_all',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-07-11 13:23:49 +00:00
|
|
|
'php': {
|
|
|
|
'version': '8.0',
|
|
|
|
'packages': {
|
|
|
|
'gd',
|
2021-11-22 19:34:02 +00:00
|
|
|
'imagick',
|
2021-07-11 13:23:49 +00:00
|
|
|
'imap',
|
|
|
|
'intl',
|
|
|
|
'mbstring',
|
|
|
|
'opcache',
|
|
|
|
'pgsql',
|
|
|
|
'readline',
|
|
|
|
'xml',
|
2021-11-22 19:34:02 +00:00
|
|
|
'yaml',
|
2021-07-11 13:23:49 +00:00
|
|
|
},
|
|
|
|
},
|
2021-06-29 12:24:10 +00:00
|
|
|
'postgresql': {
|
|
|
|
'version': '13',
|
2023-02-17 04:03:39 +00:00
|
|
|
'max_connections': 500,
|
2023-06-03 11:21:23 +00:00
|
|
|
'autovacuum_max_workers': 12,
|
|
|
|
'maintenance_work_mem': 2*1024,
|
|
|
|
'work_mem': 8*1024,
|
|
|
|
'cache_size': 32*1024,
|
2021-06-29 12:24:10 +00:00
|
|
|
},
|
2021-05-20 16:24:23 +00:00
|
|
|
'smartd': {
|
|
|
|
'disks': {
|
|
|
|
'/dev/nvme0',
|
|
|
|
},
|
|
|
|
},
|
2021-08-21 05:52:58 +00:00
|
|
|
'systemd': {
|
|
|
|
'journal': {
|
|
|
|
'maxuse': '4G',
|
|
|
|
},
|
|
|
|
},
|
2021-01-02 11:18:41 +00:00
|
|
|
'systemd-networkd': {
|
2021-05-23 12:33:20 +00:00
|
|
|
'bridges': {
|
|
|
|
'br0': {
|
|
|
|
'match': {
|
2021-06-28 17:41:00 +00:00
|
|
|
'eno1',
|
2021-05-23 12:33:20 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-01-02 11:18:41 +00:00
|
|
|
},
|
2022-02-06 12:41:09 +00:00
|
|
|
'systemd-timers': {
|
|
|
|
'timers': {
|
|
|
|
'cleanup-paste.franzi.business': {
|
|
|
|
'command': '/usr/bin/find /var/www/paste.franzi.business/ -maxdepth 1 -type d -mtime +60 -exec rm -r {} \;',
|
|
|
|
'user': 'kunsi',
|
|
|
|
'when': 'daily',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-07-23 17:15:08 +00:00
|
|
|
'unbound': {
|
|
|
|
'threads': 8,
|
|
|
|
'cache_slabs': 8,
|
|
|
|
},
|
2020-10-25 15:46:45 +00:00
|
|
|
'zfs': {
|
2020-10-25 15:49:36 +00:00
|
|
|
'module_options': {
|
2023-06-03 11:21:23 +00:00
|
|
|
'zfs_arc_max_gb': 48,
|
2020-10-25 15:49:36 +00:00
|
|
|
},
|
2020-10-25 15:46:45 +00:00
|
|
|
'pools': {
|
2021-08-17 16:09:51 +00:00
|
|
|
'tank': {
|
|
|
|
'when_creating': {
|
|
|
|
'config': [{
|
|
|
|
'type': 'raidz',
|
|
|
|
'devices': {
|
|
|
|
'/dev/sda',
|
|
|
|
'/dev/sdb',
|
|
|
|
'/dev/sdc',
|
|
|
|
'/dev/sdd',
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
'ashift': 12,
|
2020-10-25 15:46:45 +00:00
|
|
|
},
|
2021-08-17 16:09:51 +00:00
|
|
|
},
|
2020-10-25 15:46:45 +00:00
|
|
|
},
|
2021-05-23 12:33:20 +00:00
|
|
|
'datasets': {
|
|
|
|
'tank/libvirt': {
|
|
|
|
'mountpoint': '/var/lib/libvirt',
|
|
|
|
'compression': 'on',
|
2021-07-17 17:40:41 +00:00
|
|
|
'needed_by': {
|
|
|
|
'bundle:vmhost',
|
|
|
|
},
|
2021-05-23 12:33:20 +00:00
|
|
|
},
|
2021-07-17 08:53:35 +00:00
|
|
|
'tank/home-kunsi': {
|
|
|
|
'mountpoint': '/home/kunsi',
|
2021-07-17 17:40:41 +00:00
|
|
|
'needed_by': {
|
|
|
|
'directory:/home/kunsi',
|
|
|
|
},
|
2021-07-17 08:53:35 +00:00
|
|
|
},
|
2021-05-23 12:33:20 +00:00
|
|
|
},
|
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
|
|
|
}
|