bundlewrap/groups/os.py

84 lines
1.3 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',
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': {
'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': {
'*': {
2023-09-09 12:12:24 +00:00
'icinga2',
2021-03-21 09:30:04 +00:00
},
},
},
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'] = {
2023-07-13 18:02:38 +00:00
'subgroup_patterns': {
'^debian-[a-z]+$',
2020-11-21 09:55:09 +00:00
},
'bundles': {
'apt',
'backup-client',
},
'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,)
}
2023-07-13 18:02:38 +00:00
groups['debian-bookworm'] = {
'os_version': (12,)
}
2020-11-21 09:55:09 +00:00
groups['debian-sid'] = {
'os_version': (99,)
2020-11-21 09:55:09 +00:00
}