Skip to content

Commit af4ce98

Browse files
authored
Revert "Removing firewall config snippets (#4253)"
This reverts commit e4692cf.
1 parent e4692cf commit af4ce98

8 files changed

+25
-58
lines changed

guides/common/modules/proc_configuring-pull-based-transport-for-remote-execution.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ endif::[]
3535
----
3636
# firewall-cmd --add-service=mqtt
3737
----
38-
. Make the changes persistent:
39-
+
40-
[options="nowrap", subs="+quotes,verbatim,attributes"]
41-
----
42-
# firewall-cmd --runtime-to-permanent
43-
----
38+
include::snip_make-firewall-settings-persistent.adoc[]
4439
. In `pull-mqtt` mode, hosts subscribe for job notifications to either your {ProjectServer} or any {SmartProxyServer} through which they are registered.
4540
Ensure that {ProjectServer} sends remote execution jobs to that same {ProjectServer} or {SmartProxyServer}:
4641
.. In the {ProjectWebUI}, navigate to *Administer* > *Settings*.

guides/common/modules/proc_configuring-salt-on-project.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,4 @@ The restart takes at least 10 seconds and applies the correct directory and file
7878
--add-port="4506/tcp" \
7979
--add-port="9191/tcp"
8080
----
81-
. Make the changes persistent:
82-
+
83-
[options="nowrap", subs="+quotes,verbatim,attributes"]
84-
----
85-
# firewall-cmd --runtime-to-permanent
86-
----
81+
include::snip_make-firewall-settings-persistent.adoc[]

guides/common/modules/proc_enabling-client-connections-to-project-server.adoc

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,6 @@ ifndef::katello,satellite,orcharhino[]
3636
endif::[]
3737
--add-service=puppetmaster
3838
----
39-
. Make the changes persistent:
40-
+
41-
[options="nowrap", subs="+quotes,verbatim,attributes"]
42-
----
43-
# firewall-cmd --runtime-to-permanent
44-
----
39+
include::snip_make-firewall-settings-persistent.adoc[]
4540

46-
.Verification
47-
* Enter the following command:
48-
+
49-
[options="nowrap"]
50-
----
51-
# firewall-cmd --list-all
52-
----
53-
54-
ifndef::foreman-deb[]
55-
For more information, see {RHELDocsBaseURL}9/html/configuring_firewalls_and_packet_filters/using-and-configuring-firewalld_firewall-packet-filters[Using and configuring firewalld] in _{RHEL}{nbsp}9 Configuring firewalls and packet filters_.
56-
endif::[]
41+
include::snip_verify-firewall-settings.adoc[]

guides/common/modules/proc_enabling-connections-to-capsule.adoc

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,6 @@ ifndef::katello,satellite,orcharhino[]
3535
endif::[]
3636
--add-service=puppetmaster
3737
----
38-
. Make the changes persistent:
39-
+
40-
[options="nowrap", subs="+quotes,verbatim,attributes"]
41-
----
42-
# firewall-cmd --runtime-to-permanent
43-
----
44-
45-
.Verification
46-
* Enter the following command:
47-
+
48-
[options="nowrap"]
49-
----
50-
# firewall-cmd --list-all
51-
----
38+
include::snip_make-firewall-settings-persistent.adoc[]
5239

53-
ifndef::foreman-deb[]
54-
For more information, see {RHELDocsBaseURL}9/html/configuring_firewalls_and_packet_filters/using-and-configuring-firewalld_firewall-packet-filters[Using and configuring firewalld] in _{RHEL}{nbsp}9 Configuring firewalls and packet filters_.
55-
endif::[]
40+
include::snip_verify-firewall-settings.adoc[]

guides/common/modules/proc_enabling-omapi-authentication-in-isc-dhcp.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,4 @@ The name must match the one you specified in the `tsig-keygen` command.
6161
----
6262
# firewall-cmd --add-port=7911/tcp
6363
----
64-
. Make the changes persistent:
65-
+
66-
[options="nowrap", subs="+quotes,verbatim,attributes"]
67-
----
68-
# firewall-cmd --runtime-to-permanent
69-
----
64+
include::snip_make-firewall-settings-persistent.adoc[]

guides/common/modules/proc_installing-postgresql.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,7 @@ password_encryption=scram-sha-256
9191
----
9292
# firewall-cmd --add-service=postgresql
9393
----
94-
. Make the changes persistent:
95-
+
96-
[options="nowrap", subs="+quotes,verbatim,attributes"]
97-
----
98-
# firewall-cmd --runtime-to-permanent
99-
----
94+
include::snip_make-firewall-settings-persistent.adoc[]
10095
. Switch to the `postgres` user and start the PostgreSQL client:
10196
+
10297
[options="nowrap" subs="verbatim,quotes"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
. Make the changes persistent:
2+
+
3+
[options="nowrap", subs="+quotes,verbatim,attributes"]
4+
----
5+
# firewall-cmd --runtime-to-permanent
6+
----
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.Verification
2+
* Enter the following command:
3+
+
4+
[options="nowrap"]
5+
----
6+
# firewall-cmd --list-all
7+
----
8+
9+
ifndef::foreman-deb[]
10+
For more information, see {RHELDocsBaseURL}9/html/configuring_firewalls_and_packet_filters/using-and-configuring-firewalld_firewall-packet-filters[Using and configuring firewalld] in _{RHEL}{nbsp}9 Configuring firewalls and packet filters_.
11+
endif::[]

0 commit comments

Comments
 (0)