mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-15 17:20:25 +00:00
Fix 'requisites were not found' issue
This commit is contained in:
parent
ccfe9c2b7c
commit
a521af36ad
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ postgres-reload-modules:
|
|||
{{ format_state( name + '-' + ext_name, 'postgres_extension', extension) }}
|
||||
- require:
|
||||
- postgres_database: postgres_database-{{ name }}
|
||||
{%- if 'schema' in extension %}
|
||||
- postgres_schema: postgres_schema-{{ extension.schema }}
|
||||
{%- if 'schema' in extension and 'schemas' in postgres %}
|
||||
- postgres_schema: postgres_schema-{{ name }}-{{ extension.schema }}
|
||||
{%- endif %}
|
||||
|
||||
{%- endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue