Skip to content

Commit 2a073ed

Browse files
committed
Update installing postgresql to work without firewall snippets
This ensures the snippets can be deleted when merging the port procedures for installing.
1 parent 58083b5 commit 2a073ed

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

guides/common/modules/proc_installing-postgresql.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ ifndef::foreman-deb[]
1313
{Project} supports PostgreSQL version 13.
1414
endif::[]
1515

16-
include::snip_firewalld.adoc[]
17-
1816
.Prerequisites
1917
* The prepared host has base operating system repositories enabled.
2018
* The prepared host has sufficient disk space available for the `{postgresql-lib-dir}` directory.
@@ -85,13 +83,20 @@ password_encryption=scram-sha-256
8583
----
8684
# systemctl enable --now postgresql
8785
----
88-
. Open the *postgresql* port:
86+
. Update the firewall configuration.
87+
For example, using the `firewall-cmd` command:
88+
.. Open the *postgresql* port:
8989
+
9090
[options="nowrap" subs="verbatim,quotes"]
9191
----
9292
# firewall-cmd --add-service=postgresql
9393
----
94-
include::snip_make-firewall-settings-persistent.adoc[]
94+
.. Make the changes persistent:
95+
+
96+
[options="nowrap", subs="+quotes,verbatim,attributes"]
97+
----
98+
# firewall-cmd --runtime-to-permanent
99+
----
95100
. Switch to the `postgres` user and start the PostgreSQL client:
96101
+
97102
[options="nowrap" subs="verbatim,quotes"]

0 commit comments

Comments
 (0)