bundlewrap/bundles/mx-puppet-discord/metadata.py
Franziska Kunsmann 6cd02dc563
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
bundles: move non-login users to items.py
2020-11-10 13:24:07 +01:00

29 lines
985 B
Python

defaults = {
'matrix-synapse': {
'appservice_configs': {
'/opt/mx-puppet-discord/registration.yaml',
},
},
'mx-puppet-discord': {
'database': {
'user': 'mx-puppet-discord',
'password': repo.vault.password_for('{} postgresql mx-puppet-discord'.format(node.name)),
'database': 'mx-puppet-discord',
},
'as_token': repo.vault.password_for('{} mx-puppet-discord as_token'.format(node.name)),
'hs_token': repo.vault.password_for('{} mx-puppet-discord hs_token'.format(node.name)),
'sender_localpart': '_discordpuppet_bot',
},
'postgresql': {
'roles': {
'mx-puppet-discord': {
'password': repo.vault.password_for('{} postgresql mx-puppet-discord'.format(node.name)),
},
},
'databases': {
'mx-puppet-discord': {
'owner': 'mx-puppet-discord',
},
},
},
}