bundles/postgresql: make sure we have postgres_role before adding postgres_db
This commit is contained in:
parent
67c5c23194
commit
f1f7086aab
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ for database, config in node.metadata.get('postgresql', {}).get('databases', {})
|
||||||
postgres_dbs[database] = {
|
postgres_dbs[database] = {
|
||||||
'owner': config['owner'],
|
'owner': config['owner'],
|
||||||
'needs': {
|
'needs': {
|
||||||
|
'postgres_role:',
|
||||||
'svc_systemd:postgresql',
|
'svc_systemd:postgresql',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue