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

46 lines
1.4 KiB
Python
Raw Normal View History

2020-08-18 13:27:55 +00:00
defaults = {
'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
},
2020-11-21 17:55:06 +00:00
'icinga2_api': {
'mx-puppet-discord': {
'services': {
'MX-PUPPET-DISCORD PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a mx-puppet-discord -c 1:',
},
},
},
},
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': {
'roles': {
2020-08-18 13:27:55 +00:00
'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
},
2021-07-17 08:17:39 +00:00
'zfs': {
'datasets': {
'tank/mx-puppet-discord': {
'mountpoint': '/opt/mx-puppet-discord',
},
},
},
2020-08-18 13:27:55 +00:00
}