bundlewrap/bundles/postgresql/metadata.py
Franziska Kunsmann b114ba3ff8
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
bundles/postgresql: fix typo
2020-11-22 07:40:34 +01:00

25 lines
565 B
Python

defaults = {
'backups': {
'paths': {
'/var/lib/postgresql',
},
},
'icinga2_api': {
'postgresql': {
'services': {
'POSTGRESQL PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C postgres -c 1:',
},
},
},
},
}
if node.has_bundle('zfs'):
defaults['zfs'] = {
'datasets': {
'tank/postgresql': {
'mountpoint': '/var/lib/postgresql',
},
},
}