bundlewrap/groups/locations.py

98 lines
2.1 KiB
Python
Raw Normal View History

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
}
2024-06-08 16:46:51 +00:00
groups['sophie'] = {
'member_patterns': {
r"sophie\..*",
},
'metadata': {
'icinga_options': {
'exclude_from_monitoring': True,
},
2024-09-07 07:07:40 +00:00
'backup-client': {
'target': 'htz-hel.backup-sohpie',
},
2024-06-08 16:50:55 +00:00
'users': {
'sophie': {},
},
2024-06-08 16:46:51 +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',
},
}