bundle/postgresql add dependencies, remove redundant config
This commit is contained in:
parent
a656eb7eb3
commit
d3c9550463
1 changed files with 2 additions and 7 deletions
|
@ -29,6 +29,7 @@ directories = {
|
||||||
'owner': 'postgres',
|
'owner': 'postgres',
|
||||||
'group': 'postgres',
|
'group': 'postgres',
|
||||||
'mode': '0755',
|
'mode': '0755',
|
||||||
|
'needs': {f'pkg_apt:{i}' for i in pkg_apt.keys()},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -105,10 +106,4 @@ for user, config in node.metadata.get('postgresql/roles', {}).items():
|
||||||
}
|
}
|
||||||
|
|
||||||
for database, config in node.metadata.get('postgresql/databases', {}).items():
|
for database, config in node.metadata.get('postgresql/databases', {}).items():
|
||||||
postgres_dbs[database] = {
|
postgres_dbs[database] = config
|
||||||
'owner': config['owner'],
|
|
||||||
'needs': {
|
|
||||||
'postgres_role:',
|
|
||||||
'svc_systemd:postgresql',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue