This commit is contained in:
mwiegand 2021-10-09 15:01:45 +02:00
parent ebac40506e
commit 26a4b8cd80
3 changed files with 19 additions and 17 deletions

View file

@ -7,7 +7,9 @@ defaults = {
},
},
'letsencrypt': {
'domains': {},
'domains': {
# 'example.com': {'alias1.example.com', 'alias2.example.com'},
},
},
'pacman': {
'packages': {
@ -52,7 +54,7 @@ def delegated_domains(metadata):
return {
'letsencrypt': {
'domains': {
domain: {}
domain: set()
for other_node in repo.nodes
if other_node.has_bundle('letsencrypt')
and other_node.metadata.get('letsencrypt/delegate_to_node', None) == node.name

View file

@ -104,7 +104,7 @@ def letsencrypt(metadata):
return {
'letsencrypt': {
'domains': {
domain: {} for domain in metadata.get('nginx/vhosts')
domain: set() for domain in metadata.get('nginx/vhosts')
},
'reload_after': {
'nginx',

View file

@ -32,17 +32,17 @@
'bind': {
'hostname': 'resolver.name',
'zones': {
'sublimity.de': [],
'freibrief.net': [],
'nadenau.net': [],
'naeder.net': [],
'rolfwerner.eu': [],
'wettengl.net': [],
'wingl.de': [],
'woodpipe.de': [],
'ckn.li': [],
'islamicstate.eu': [],
'hausamsilberberg.de': [],
'sublimity.de': {},
'freibrief.net': {},
'nadenau.net': {},
'naeder.net': {},
'rolfwerner.eu': {},
'wettengl.net': {},
'wingl.de': {},
'woodpipe.de': {},
'ckn.li': {},
'islamicstate.eu': {},
'hausamsilberberg.de': {},
},
},
'dns': {
@ -61,9 +61,9 @@
},
'letsencrypt': {
'domains': {
'ckn.li': {},
'sublimity.de': {},
'freibrief.net': {},
'ckn.li': set(),
'sublimity.de': set(),
'freibrief.net': set(),
},
},
'mailserver': {