bundlewrap/bundles/mx-puppet-discord/metadata.py

36 lines
1.1 KiB
Python
Raw Normal View History

2020-08-18 13:27:55 +00:00
defaults = {
'users': {
'mx-puppet-discord': {
'home': '/opt/mx-puppet-discord',
'home-mode': '0755',
2020-04-04 15:54:48 +00:00
},
2020-08-18 13:27:55 +00:00
},
'matrix-synapse': {
'appservice_configs': {
'/opt/mx-puppet-discord/registration.yaml',
2020-04-05 09:38:31 +00:00
},
2020-08-18 13:27:55 +00:00
},
'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',
2020-08-18 13:27:55 +00:00
},
'postgresql': {
2020-08-18 13:27:55 +00:00
'users': {
'mx-puppet-discord': {
2020-04-05 09:38:31 +00:00
'password': repo.vault.password_for('{} postgresql mx-puppet-discord'.format(node.name)),
},
},
2020-08-18 13:27:55 +00:00
'databases': {
'mx-puppet-discord': {
'owner': 'mx-puppet-discord',
},
},
2020-08-18 13:27:55 +00:00
},
}