mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Fix SLS rendering because of pkgs_extra
Jinja var isn't set by default
This commit is contained in:
parent
761014ec47
commit
7307ab8dc9
1 changed files with 2 additions and 6 deletions
|
@ -47,13 +47,9 @@ postgresql-running:
|
||||||
- require:
|
- require:
|
||||||
- cmd: postgresql-cluster-prepared
|
- cmd: postgresql-cluster-prepared
|
||||||
|
|
||||||
{% if postgres.pkgs_extra %}
|
postgresql-extra-pkgs-installed:
|
||||||
{% for pkg in postgres.pkgs_extra %}
|
|
||||||
postgresql-extra-pkgs-installed_{{ pkg }}:
|
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: {{ pkg }}
|
- pkgs: {{ postgres.pkgs_extra | default([], True) }}
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if postgres.postgresconf %}
|
{% if postgres.postgresconf %}
|
||||||
postgresql-conf:
|
postgresql-conf:
|
||||||
|
|
Loading…
Add table
Reference in a new issue