bundles/postgresql: only deploy packages if we have locales installed
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-01-23 12:06:38 +01:00
parent 4a9463db5f
commit 6b720c6c75
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -46,6 +46,10 @@ files = {
'context': node.metadata['postgresql'],
'owner': 'postgres',
'group': 'postgres',
'needs': {
# postgresql won't start if the configured locale isn't available
'action:locale-gen',
} if node.has_bundle('basic') else set(),
'triggers': {
'svc_systemd:postgresql:restart',
},