Skip to content

Commit c3a32eb

Browse files
committed
Fix conf_dir => data_dir required for preparing cluster
1 parent 9865664 commit c3a32eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres/server/init.sls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ postgresql-{{ bin }}-altinstall:
6262
6363
postgresql-cluster-prepared:
6464
file.directory:
65-
- name: {{ postgres.conf_dir }}
65+
- name: {{ postgres.data_dir }}
6666
- user: {{ postgres.user }}
6767
- group: {{ postgres.group }}
6868
- makedirs: True
@@ -81,7 +81,7 @@ postgresql-cluster-prepared:
8181
{%- endif %}
8282
- cwd: /
8383
- env: {{ postgres.prepare_cluster.env }}
84-
- runas: {{ postgres.user }}
84+
- runas: {{ postgres.prepare_cluster.user }}
8585
- require:
8686
- pkg: postgresql-server
8787
- file: postgresql-cluster-prepared

0 commit comments

Comments
 (0)