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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user