Merge pull request #183 from saltstack-formulas/ListNotDict

Env must be list, not dict, in defaults.yml
This commit is contained in:
N 2018-01-23 10:08:08 +00:00 committed by GitHub
commit 15898f6fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ postgres:
command: initdb --pgdata=/var/lib/pgsql/data command: initdb --pgdata=/var/lib/pgsql/data
test: test -f /var/lib/pgsql/data/PG_VERSION test: test -f /var/lib/pgsql/data/PG_VERSION
user: postgres user: postgres
env: {} env: []
conf_dir: /var/lib/pgsql/data conf_dir: /var/lib/pgsql/data
postgresconf: "" postgresconf: ""

View file

@ -56,7 +56,7 @@ postgresql-cluster-prepared:
- name: {{ postgres.prepare_cluster.command }} - name: {{ postgres.prepare_cluster.command }}
- cwd: / - cwd: /
- runas: {{ postgres.prepare_cluster.user }} - runas: {{ postgres.prepare_cluster.user }}
- env: {{ postgres.prepare_cluster.env|default({}) }} - env: {{ postgres.prepare_cluster.env }}
- unless: - unless:
- {{ postgres.prepare_cluster.test }} - {{ postgres.prepare_cluster.test }}
- require: - require: