bundlewrap/bundles/postgresql/metadata.py

17 lines
296 B
Python
Raw Normal View History

2020-11-13 11:37:26 +00:00
defaults = {
'backups': {
'paths': {
'/var/lib/postgresql',
},
},
}
if node.has_bundle('zfs'):
defaults['zfs'] = {
'datasets': {
'tank/postgresql': {
'mountpoint': '/var/lib/postgresql',
},
},
}