bundlewrap/groups/locations.py

116 lines
2.6 KiB
Python
Raw Normal View History

groups['gce'] = {
'bundles': {
'gce-workaround',
},
'member_patterns': {
r"gce\..*",
},
'metadata': {
'hosts': {
'entries': {
'169.254.169.254': {
'metadata.google.internal',
},
},
},
'location': 'gce',
'nameservers': {
'8.8.8.8',
'8.8.4.4',
},
'postfix': {
# It's fine to do this without authentificating to the relayhost.
# These Systems are not supposed to send mail anywhere else
# than our own domains.
2023-09-01 03:55:27 +00:00
'relayhost': '[mail.franzi.business]:2525',
},
'sysctl': {
'options': {
'net.ipv6.conf.all.disable_ipv6': '1',
'net.ipv6.conf.default.disable_ipv6': '1',
},
},
},
}
2022-01-04 14:18:27 +00:00
groups['htz'] = {
'subgroup_patterns': {
r'htz\-.+',
},
}
2020-07-19 10:09:34 +00:00
groups['htz-cloud'] = {
'member_patterns': {
r"htz\-cloud\..*",
2020-06-06 08:20:58 +00:00
},
'metadata': {
'apt': {
'packages': {
'cryptsetup-bin': {
'installed': False,
},
'cryptsetup-run': {
'installed': False,
},
'cryptsetup-initramfs': {
'installed': False,
},
},
},
2021-09-06 14:08:23 +00:00
'location': 'htz-cloud',
},
2020-06-06 08:20:58 +00:00
}
2022-01-04 14:18:27 +00:00
groups['htz-hel'] = {
'member_patterns': {
r'htz\-hel\..+',
},
'metadata': {
2022-01-04 14:29:30 +00:00
'location': 'htz-hel',
2022-01-04 14:18:27 +00:00
},
}
2020-09-27 14:47:10 +00:00
groups['home'] = {
'member_patterns': {
r"home\..*",
},
'bundles': {
'lldp',
},
'metadata': {
'location': 'home',
2020-11-30 05:54:50 +00:00
'icinga_options': {
'also_affected_by': {
'home.router',
},
2020-11-30 05:54:50 +00:00
'vars.notification.sms': False,
'show_on_statuspage': False,
2020-11-30 05:54:50 +00:00
},
'postfix': {
# It's fine to do this without authentificating to the relayhost.
# These Systems are not supposed to send mail anywhere else
# than our own domains.
2023-09-01 03:55:27 +00:00
'relayhost': '[mail.franzi.business]:2525',
},
},
2020-09-27 14:47:10 +00:00
}
2021-12-25 19:11:34 +00:00
groups['voc'] = {
'member_patterns': {
r"voc\..*",
},
'metadata': {
'apt': {
# Move patchday to somewhere where the possibility of
# clashing with actual events is less likely.
'unattended-upgrades': {
'day': 1,
},
},
'icinga_options': {
'show_on_statuspage': False,
},
2021-12-25 19:11:34 +00:00
'location': 'voc',
},
}