2020-09-27 14:46:26 +00:00
|
|
|
groups['raspberry'] = {
|
|
|
|
'bundles': {
|
|
|
|
'raspberrypi',
|
|
|
|
},
|
|
|
|
'metadata': {
|
|
|
|
'users': {
|
|
|
|
'pi': {
|
|
|
|
'delete': True,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
2020-11-21 09:55:09 +00:00
|
|
|
|
|
|
|
groups['linux'] = {
|
|
|
|
'subgroups': {
|
2021-05-23 10:24:00 +00:00
|
|
|
'arch',
|
2020-11-21 09:55:09 +00:00
|
|
|
'debian',
|
|
|
|
'raspberry',
|
|
|
|
},
|
|
|
|
'bundles': {
|
2021-01-23 11:05:59 +00:00
|
|
|
'basic',
|
2020-11-21 09:55:09 +00:00
|
|
|
'cron',
|
2021-06-03 11:59:15 +00:00
|
|
|
'nftables',
|
2020-11-21 09:55:09 +00:00
|
|
|
'openssh',
|
|
|
|
'postfix',
|
|
|
|
'sshmon',
|
|
|
|
'sudo',
|
2021-06-04 05:27:49 +00:00
|
|
|
'sysctl',
|
2020-11-21 09:55:09 +00:00
|
|
|
'systemd',
|
|
|
|
'systemd-networkd',
|
2022-02-06 12:39:52 +00:00
|
|
|
'systemd-timers',
|
2021-04-23 17:27:20 +00:00
|
|
|
'telegraf',
|
2020-11-21 09:55:09 +00:00
|
|
|
'users',
|
|
|
|
},
|
|
|
|
'metadata': {
|
|
|
|
'apt': {
|
|
|
|
'unattended-upgrades': {
|
2022-01-23 04:47:42 +00:00
|
|
|
'reboot_mail_to': libs.defaults.hostmaster_email,
|
2020-11-21 09:55:09 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
'backup-client': {
|
2022-01-04 16:14:55 +00:00
|
|
|
'target': 'htz-hel.backup-kunsi',
|
2020-11-21 09:55:09 +00:00
|
|
|
},
|
2021-06-03 11:59:15 +00:00
|
|
|
'firewall': {
|
2021-03-21 09:30:04 +00:00
|
|
|
'port_rules': {
|
|
|
|
'*': {
|
|
|
|
'ovh.icinga2',
|
|
|
|
},
|
|
|
|
'*/udp': {
|
|
|
|
'ovh.icinga2',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-11-21 09:55:09 +00:00
|
|
|
},
|
|
|
|
'pip_command': 'pip3',
|
|
|
|
}
|
|
|
|
|
2021-05-23 10:24:00 +00:00
|
|
|
groups['arch'] = {
|
|
|
|
'bundles': {
|
|
|
|
'pacman',
|
|
|
|
},
|
|
|
|
'os': 'arch',
|
|
|
|
}
|
|
|
|
|
2020-11-21 09:55:09 +00:00
|
|
|
groups['debian'] = {
|
|
|
|
'subgroups': {
|
|
|
|
'debian-buster',
|
|
|
|
'debian-bullseye',
|
|
|
|
'debian-sid',
|
|
|
|
},
|
2021-05-23 10:24:00 +00:00
|
|
|
'bundles': {
|
|
|
|
'apt',
|
|
|
|
'backup-client',
|
|
|
|
'molly-guard',
|
|
|
|
},
|
|
|
|
'os': 'debian',
|
|
|
|
'pip_command': 'pip3',
|
2020-11-21 09:55:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
groups['debian-buster'] = {
|
|
|
|
'os_version': (10,)
|
|
|
|
}
|
|
|
|
|
|
|
|
groups['debian-bullseye'] = {
|
|
|
|
'os_version': (11,)
|
|
|
|
}
|
|
|
|
|
|
|
|
groups['debian-sid'] = {
|
2021-01-23 10:33:42 +00:00
|
|
|
'os_version': (99,)
|
2020-11-21 09:55:09 +00:00
|
|
|
}
|