2020-08-18 13:27:55 +00:00
|
|
|
defaults = {
|
2022-11-05 06:47:07 +00:00
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'libcairo2-dev': {},
|
|
|
|
'libgif-dev': {},
|
|
|
|
'libpango1.0-dev': {},
|
|
|
|
'libpixman-1-dev': {},
|
|
|
|
'pkg-config': {},
|
|
|
|
},
|
|
|
|
},
|
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
|
|
|
},
|
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',
|
|
|
|
},
|
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-11-10 11:37:58 +00:00
|
|
|
'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-06-01 09:09:03 +00:00
|
|
|
},
|
|
|
|
},
|
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',
|
2021-07-17 17:40:41 +00:00
|
|
|
'needed_by': {
|
|
|
|
'directory:/opt/mx-puppet-discord',
|
|
|
|
},
|
2021-07-17 08:17:39 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-08-18 13:27:55 +00:00
|
|
|
}
|