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',
|
|
|
|
},
|
2020-09-26 13:34:12 +00:00
|
|
|
'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
|
|
|
},
|
2020-08-19 16:39:07 +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-06-01 09:09:03 +00:00
|
|
|
},
|
|
|
|
},
|
2020-08-18 13:27:55 +00:00
|
|
|
},
|
|
|
|
}
|