bundles/matrix-synapse: ensure matrix-synapse does not mess with our homeserver.yaml
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-07-17 09:32:49 +02:00
parent 77f785135d
commit 337b660f5a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 26 additions and 0 deletions

View file

@ -24,6 +24,18 @@ files = {
'/etc/matrix-synapse/homeserver.signing.key': {
'content': repo.vault.decrypt_file('matrix-synapse/{}/homeserver_signing.key.vault'.format(node.name)),
},
'/etc/matrix-synapse/conf.d/server_name.yaml': {
# We don't actually need this file. However, if we don't put the
# server name in there, synapse will somehow remove it from
# homeserver.yaml when installing a new matrix-synapse package.
# Our override.conf ensures this file is never read, so we don't
# need to restart synapse after changing stuff in here.
'content_type': 'mako',
'context': node.metadata['matrix-synapse'],
},
'/etc/matrix-synapse/conf.d/report_stats.yaml': {
# see comment above
},
}
svc_systemd = {