bundles/postgresql: only deploy packages if we have locales installed
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
4a9463db5f
commit
6b720c6c75
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,10 @@ files = {
|
||||||
'context': node.metadata['postgresql'],
|
'context': node.metadata['postgresql'],
|
||||||
'owner': 'postgres',
|
'owner': 'postgres',
|
||||||
'group': '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': {
|
'triggers': {
|
||||||
'svc_systemd:postgresql:restart',
|
'svc_systemd:postgresql:restart',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue