bundlewrap/groups/os.py

90 lines
1.5 KiB
Python
Raw Normal View History

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': {
'arch',
2020-11-21 09:55:09 +00:00
'debian',
'raspberry',
},
'bundles': {
'basic',
2020-11-21 09:55:09 +00:00
'cron',
'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',
2021-04-23 17:27:20 +00:00
'telegraf',
2020-11-21 09:55:09 +00:00
'users',
},
'metadata': {
'apt': {
'unattended-upgrades': {
2021-06-03 16:27:45 +00:00
'mail': libs.defaults.hostmaster_email,
2020-11-21 09:55:09 +00:00
},
},
'backup-client': {
'target': 'htz-hel.backup-kunsi',
2020-11-21 09:55:09 +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',
}
groups['arch'] = {
'bundles': {
'pacman',
},
'os': 'arch',
}
2020-11-21 09:55:09 +00:00
groups['debian'] = {
'subgroups': {
'debian-buster',
'debian-bullseye',
'debian-sid',
},
'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'] = {
'os_version': (99,)
2020-11-21 09:55:09 +00:00
}