mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-15 17:20:25 +00:00
Fix conf_dir
=> data_dir
required for preparing cluster
This commit is contained in:
parent
9865664963
commit
c3a32eb0aa
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ postgresql-{{ bin }}-altinstall:
|
|||
|
||||
postgresql-cluster-prepared:
|
||||
file.directory:
|
||||
- name: {{ postgres.conf_dir }}
|
||||
- name: {{ postgres.data_dir }}
|
||||
- user: {{ postgres.user }}
|
||||
- group: {{ postgres.group }}
|
||||
- makedirs: True
|
||||
|
@ -81,7 +81,7 @@ postgresql-cluster-prepared:
|
|||
{%- endif %}
|
||||
- cwd: /
|
||||
- env: {{ postgres.prepare_cluster.env }}
|
||||
- runas: {{ postgres.user }}
|
||||
- runas: {{ postgres.prepare_cluster.user }}
|
||||
- require:
|
||||
- pkg: postgresql-server
|
||||
- file: postgresql-cluster-prepared
|
||||
|
|
Loading…
Add table
Reference in a new issue