mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 01:30:25 +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:
|
||||
- cmd: postgresql-cluster-prepared
|
||||
|
||||
{% if postgres.pkgs_extra %}
|
||||
{% for pkg in postgres.pkgs_extra %}
|
||||
postgresql-extra-pkgs-installed_{{ pkg }}:
|
||||
postgresql-extra-pkgs-installed:
|
||||
pkg.installed:
|
||||
- name: {{ pkg }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
- pkgs: {{ postgres.pkgs_extra | default([], True) }}
|
||||
|
||||
{% if postgres.postgresconf %}
|
||||
postgresql-conf:
|
||||
|
|
Loading…
Add table
Reference in a new issue