16 lines
296 B
Python
16 lines
296 B
Python
defaults = {
|
|
'backups': {
|
|
'paths': {
|
|
'/var/lib/postgresql',
|
|
},
|
|
},
|
|
}
|
|
|
|
if node.has_bundle('zfs'):
|
|
defaults['zfs'] = {
|
|
'datasets': {
|
|
'tank/postgresql': {
|
|
'mountpoint': '/var/lib/postgresql',
|
|
},
|
|
},
|
|
}
|