mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Merge pull request #115 from vutny/fix-rendering-without-extras
Fix SLS rendering because of `pkgs_extra` Jinja variable isn't set by default
This commit is contained in:
commit
6651ddc498
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