Merge pull request #183 from saltstack-formulas/ListNotDict
Env must be list, not dict, in defaults.yml
This commit is contained in:
@@ -16,7 +16,7 @@ postgres:
|
||||
command: initdb --pgdata=/var/lib/pgsql/data
|
||||
test: test -f /var/lib/pgsql/data/PG_VERSION
|
||||
user: postgres
|
||||
env: {}
|
||||
env: []
|
||||
|
||||
conf_dir: /var/lib/pgsql/data
|
||||
postgresconf: ""
|
||||
|
||||
@@ -56,7 +56,7 @@ postgresql-cluster-prepared:
|
||||
- name: {{ postgres.prepare_cluster.command }}
|
||||
- cwd: /
|
||||
- runas: {{ postgres.prepare_cluster.user }}
|
||||
- env: {{ postgres.prepare_cluster.env|default({}) }}
|
||||
- env: {{ postgres.prepare_cluster.env }}
|
||||
- unless:
|
||||
- {{ postgres.prepare_cluster.test }}
|
||||
- require:
|
||||
|
||||
Reference in New Issue
Block a user