move weechat to rx300

This commit is contained in:
Franzi 2021-07-23 10:04:32 +02:00
parent c0af623782
commit b5530b15ee
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 27 additions and 52 deletions

View file

@ -57,18 +57,6 @@ nodes['htz.ex42-1048908'] = {
'deb http://deb.debian.org/debian {os_release}-backports main', 'deb http://deb.debian.org/debian {os_release}-backports main',
}, },
}, },
'weechat': {
'items': {
'deb https://weechat.org/debian {os_release} main',
},
},
},
},
'backup-client': {
'pre-hooks': {
'kunsi-weechat': \
'echo \'core.weechat */layout store\' >> /home/kunsi/.weechat/weechat_fifo\n' \
'echo \'core.weechat */save\' >> /home/kunsi/.weechat/weechat_fifo\n',
}, },
}, },
'backups': { 'backups': {
@ -87,25 +75,6 @@ nodes['htz.ex42-1048908'] = {
'icinga_options': { 'icinga_options': {
'pretty_name': 'kunsmann.eu', 'pretty_name': 'kunsmann.eu',
}, },
'letsencrypt': {
'concat_and_deploy': {
'kunsi-weechat': {
'match_domain': 'part.of.the.trans-agenda.eu',
'target': '/home/kunsi/.weechat/ssl/relay.pem',
'chown': 'kunsi:kunsi',
'chmod': '0440',
'commands': [
'echo \'core.weechat */relay sslcertkey\' >> /home/kunsi/.weechat/weechat_fifo'
],
},
},
'domains': {
'matrix.franzi.business': {
'franzi.business',
},
'part.of.the.trans-agenda.eu': set(),
},
},
'locale': { 'locale': {
'installed': { 'installed': {
# legacy # legacy
@ -115,10 +84,6 @@ nodes['htz.ex42-1048908'] = {
'nftables': { 'nftables': {
'rules': { 'rules': {
'input': { 'input': {
'kunsi-weechat': [
'udp dport { 60000-61000 } accept',
'tcp dport 9001 accept',
],
'libvirt': [ 'libvirt': [
'tcp dport 53 iif virbr0 accept', 'tcp dport 53 iif virbr0 accept',
'udp dport 53 iif virbr0 accept', 'udp dport 53 iif virbr0 accept',

View file

@ -86,9 +86,9 @@ nodes['rx300'] = {
}, },
'backup-client': { 'backup-client': {
'pre-hooks': { 'pre-hooks': {
# 'kunsi-weechat': \ 'kunsi-weechat': \
# 'echo \'core.weechat */layout store\' >> /home/kunsi/.weechat/weechat_fifo\n' \ 'echo \'core.weechat */layout store\' >> /home/kunsi/.weechat/weechat_fifo\n' \
# 'echo \'core.weechat */save\' >> /home/kunsi/.weechat/weechat_fifo\n', 'echo \'core.weechat */save\' >> /home/kunsi/.weechat/weechat_fifo\n',
}, },
}, },
'backups': { 'backups': {
@ -156,20 +156,20 @@ nodes['rx300'] = {
'domain': 'jenkins.franzi.business', 'domain': 'jenkins.franzi.business',
}, },
'letsencrypt': { 'letsencrypt': {
# 'concat_and_deploy': { 'concat_and_deploy': {
# 'kunsi-weechat': { 'kunsi-weechat': {
# 'match_domain': 'part.of.the.trans-agenda.eu', 'match_domain': 'rx300.kunbox.net',
# 'target': '/home/kunsi/.weechat/ssl/relay.pem', 'target': '/home/kunsi/.weechat/ssl/relay.pem',
# 'chown': 'kunsi:kunsi', 'chown': 'kunsi:kunsi',
# 'chmod': '0440', 'chmod': '0440',
# 'commands': [ 'commands': [
# 'echo \'core.weechat */relay sslcertkey\' >> /home/kunsi/.weechat/weechat_fifo' 'echo \'core.weechat */relay sslcertkey\' >> /home/kunsi/.weechat/weechat_fifo'
# ], ],
# }, },
# }, },
# 'domains': { 'domains': {
# 'part.of.the.trans-agenda.eu': set(), 'rx300.kunbox.net': set(),
# }, },
}, },
'matrix-media-repo': { 'matrix-media-repo': {
'version': 'v1.2.8', 'version': 'v1.2.8',
@ -243,6 +243,16 @@ nodes['rx300'] = {
'@.*:franzi\\\\.business', '@.*:franzi\\\\.business',
}, },
}, },
'nftables': {
'rules': {
'input': {
'kunsi-weechat': [
'udp dport { 60000-61000 } accept',
'tcp dport 9001 accept',
],
},
},
},
'nginx': { 'nginx': {
'vhosts': { 'vhosts': {
'element-web': {'ssl': '_.franzi.business'}, 'element-web': {'ssl': '_.franzi.business'},