bundlewrap/groups/os.py

91 lines
1.6 KiB
Python

groups['raspberry'] = {
'bundles': {
'raspberrypi',
},
'metadata': {
'users': {
'pi': {
'delete': True,
},
},
},
}
groups['linux'] = {
'subgroups': {
'arch',
'debian',
'raspberry',
},
'bundles': {
'basic',
'cron',
'nftables',
'openssh',
'postfix',
'sshmon',
'sudo',
'sysctl',
'systemd',
'systemd-networkd',
'systemd-timers',
'telegraf',
'users',
},
'metadata': {
'apt': {
'unattended-upgrades': {
'reboot_mail_to': libs.defaults.hostmaster_email,
},
},
'backup-client': {
'target': 'htz-hel.backup-kunsi',
},
'firewall': {
'port_rules': {
'*': {
'ovh.icinga2',
},
'*/udp': {
'ovh.icinga2',
},
},
},
},
'pip_command': 'pip3',
}
groups['arch'] = {
'bundles': {
'pacman',
},
'os': 'arch',
}
groups['debian'] = {
'subgroup_patterns': {
'^debian-[a-z]+$',
},
'bundles': {
'apt',
'backup-client',
},
'os': 'debian',
'pip_command': 'pip3',
}
groups['debian-buster'] = {
'os_version': (10,)
}
groups['debian-bullseye'] = {
'os_version': (11,)
}
groups['debian-bookworm'] = {
'os_version': (12,)
}
groups['debian-sid'] = {
'os_version': (99,)
}