Skip to content

Commit b96ed46

Browse files
committed
refactor(postgres): 04-read-replica -> read-replica
1 parent fdb7898 commit b96ed46

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ansible/tasks/setup-postgres.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@
156156
when: debpkg_mode or nixpkg_mode
157157

158158
# Add custom config for read replicas set up
159-
- name: Move custom read-replica.conf file to /etc/postgresql-custom/04-read-replica.conf
159+
- name: Move custom read-replica.conf file to /etc/postgresql-custom/read-replica.conf
160160
copy:
161-
src: "files/postgresql_config/conf.d/04-custom_read_replica.conf"
162-
dest: /etc/postgresql-custom/conf.d/04-read-replica.conf
161+
src: "files/postgresql_config/conf.d/read-replica.conf"
162+
dest: /etc/postgresql-custom/conf.d/read-replica.conf
163163
mode: 0664
164164
owner: postgres
165165
group: postgres

nix/tools/run-server.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ echo "NOTE: patching postgresql.conf files"
216216
cp "$PG_HBA_FILE" "$DATDIR/pg_hba.conf"
217217
cp "$PG_IDENT_FILE" "$DATDIR/pg_ident.conf"
218218
mkdir -p "$DATDIR/conf.d"
219-
cp "$READREPL_CONFIG_FILE" "$DATDIR/conf.d/04-read-replica.conf"
219+
cp "$READREPL_CONFIG_FILE" "$DATDIR/conf.d/read-replica.conf"
220220
mkdir -p "$DATDIR/extension-custom-scripts"
221221
cp -r "$EXTENSION_CUSTOM_SCRIPTS"/* "$DATDIR/extension-custom-scripts"
222222

0 commit comments

Comments
 (0)