bundlewrap/groups/os.py

100 lines
2.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',
2021-03-21 10:44:52 +00:00
'iptables',
2020-11-21 09:55:09 +00:00
'openssh',
'postfix',
'sshmon',
'sudo',
'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': {
'mail': 'hostmaster@kunsmann.eu',
},
},
'backup-client': {
'server': 'franzi-home.kunbox.net:2022',
},
2021-03-21 09:30:04 +00:00
'iptables': {
'port_rules': {
'*': {
'ovh.icinga2',
},
'*/udp': {
'ovh.icinga2',
},
},
},
2021-04-23 17:27:20 +00:00
'telegraf': {
2021-04-24 08:36:52 +00:00
'influxdb_url': 'https://influxdb.kunsmann.eu/',
'influxdb_token': vault.decrypt('encrypt$gAAAAABgg9Ag632Xyuc6SWXaR1uH2tLOChmVKAoBIikhjntSSD2qJFL_eouVQGXCLH2HEuSbSdEXcTPn2qmhOiA9jmFdoDSbVbQUsp0EID1wLsWYG_Um2KOxZSF-tn9eDZlgShQYySjzO3nQRmdlJpVLUnGHsiwv_sHD2FstXGpfzTPZq5_egUqEc0K2X-aN2J6BTYc2fZAN'),
'influxdb_org': vault.decrypt('encrypt$gAAAAABgg9hyjz4XtvG8NBw9uYxiumS3v7YKIrtc9tTTABg1f9R22gzn55q8ULP9X3wlsPMUQs_DH7CgGv9neYmvVAriRoyd8g=='),
'influxdb_bucket': vault.decrypt('encrypt$gAAAAABgg9iMnq0nKpODMiMN4NtUw231iqpbyDXV-O8epOAGDSL4jcf3CaSa2bLZzH2fJFaKWjW-dpVd384x6KqSQU19XpfsWA=='),
2021-04-23 17:27:20 +00:00
},
2020-11-21 09:55:09 +00:00
},
'pip_command': 'pip3',
}
groups['arch'] = {
'bundles': {
'pacman',
},
'metadata': {
'icinga_options': {
'exclude_from_monitoring': True,
},
},
'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
}