bundlewrap/groups/locations.py

103 lines
2.2 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.
'relayhost': '[rx300.kunbox.net]:2525',
},
},
}
2020-07-19 10:09:34 +00:00
groups['htz'] = {
'member_patterns': {
r"htz\..*",
},
'subgroups': {
'htz-cloud',
},
'metadata': {
'location': '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,
},
},
},
},
2020-06-06 08:20:58 +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,
},
'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.
'relayhost': '[rx300.kunbox.net]:2525',
},
},
2020-09-27 14:47:10 +00:00
}
groups['ovh'] = {
2020-07-19 10:09:34 +00:00
'member_patterns': {
r"ovh\..*",
2020-08-20 08:01:34 +00:00
},
'metadata': {
'location': 'ovh',
'postfix': {
'relayhost': '[rx300.kunbox.net]:2525',
},
'users': {
'debian': {
'delete': True,
},
},
},
2020-07-19 10:09:34 +00:00
}