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

34 lines
923 B
Python
Raw Normal View History

2020-08-18 13:27:55 +00:00
defaults = {
'users': {
'mx-puppet-discord': {
'home': '/opt/mx-puppet-discord',
'deploy_configs': False,
'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',
},
},
'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
},
}