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:
|
- 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