bundlewrap/groups/os.py

97 lines
1.7 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'] = {
'subgroups': {
'debian-buster',
'debian-bullseye',
'debian-sid',
},
'bundles': {
'apt',
'backup-client',
'molly-guard',
},
'os': 'debian',
'pip_command': 'pip3',
}
groups['debian-buster'] = {
'os_version': (10,)
}
groups['debian-bullseye'] = {
'os_version': (11,)
}
groups['debian-sid'] = {
'os_version': (99,)
}
groups['junos'] = {
'dummy': True,
'cmd_wrapper_outer': '{}',
'cmd_wrapper_inner': '{}',
'os': 'freebsd',
}