mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 01:30:25 +00:00
Merge pull request #183 from saltstack-formulas/ListNotDict
Env must be list, not dict, in defaults.yml
This commit is contained in:
commit
15898f6fdf
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue