Skip to content

Commit 8b0237f

Browse files
authored
Fix Pulp manifest steps (#4400)
1 parent d748274 commit 8b0237f

File tree

2 files changed

+17
-30
lines changed

2 files changed

+17
-30
lines changed

guides/common/modules/proc_creating-a-local-source-for-a-custom-file-type-repository.adoc

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,16 @@ Use this procedure to configure a repository in a directory on the base system w
88
To create a file type repository in a directory on a remote server, see xref:Creating_a_Remote_Source_for_a_Custom_File_Type_Repository_{context}[].
99

1010
.Procedure
11-
ifdef::satellite[]
12-
. Ensure the Utils repository is enabled.
13-
+
14-
[options="nowrap", subs="+quotes,verbatim,attributes"]
15-
----
16-
# subscription-manager repos \
17-
--enable={RepoRHEL8AppStream} \
18-
--enable={RepoRHEL8BaseOS} \
19-
--enable={RepoRHEL8ServerSatelliteUtils}
20-
----
21-
. Enable the satellite-utils module:
11+
. On your {ProjectServer}, install the Pulp Manifest package:
2212
+
2313
[options="nowrap", subs="+quotes,verbatim,attributes"]
2414
----
25-
# dnf module enable satellite-utils
26-
----
15+
ifdef::satellite[]
16+
# {project-package-install} python3.11-pulp_manifest
2717
endif::[]
28-
. Install the Pulp Manifest package:
29-
+
30-
[options="nowrap", subs="+quotes,verbatim,attributes"]
31-
----
18+
ifndef::satellite[]
3219
# {project-package-install} pulp-manifest
20+
endif::[]
3321
----
3422
ifdef::satellite[]
3523
+
@@ -39,7 +27,7 @@ Alternatively, to prevent downtime caused by stopping the service, you can use t
3927
[options="nowrap", subs="+quotes,verbatim,attributes"]
4028
----
4129
# {foreman-maintain} packages unlock
42-
# {project-package-install} pulp-manifest
30+
# {project-package-install} python3.11-pulp_manifest
4331
# {foreman-maintain} packages lock
4432
----
4533
endif::[]
@@ -61,7 +49,7 @@ endif::[]
6149
----
6250
# touch /var/lib/pulp/__local_repos__/__my_file_repo__/_test.txt_
6351
----
64-
. Run the Pulp Manifest command to create the manifest:
52+
. Create the Pulp manifest:
6553
+
6654
[options="nowrap", subs="+quotes,verbatim,attributes"]
6755
----

guides/common/modules/proc_creating-a-remote-source-for-a-custom-file-type-repository.adoc

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ifdef::katello,orcharhino[]
1313
endif::[]
1414
ifdef::satellite[]
1515
* You have a server running {EL} 8 registered to your {Project} or the Red{nbsp}Hat CDN.
16-
* Your server has an entitlement to the {RHELServer} and {ProjectName} Utils repositories.
16+
* Your server has an entitlement to the {RHELServer} and {ProjectName} repositories.
1717
endif::[]
1818
* You have installed an HTTP server.
1919
ifndef::orcharhino[]
@@ -39,20 +39,19 @@ ifdef::satellite[]
3939
# subscription-manager repos \
4040
--enable={RepoRHEL8AppStream} \
4141
--enable={RepoRHEL8BaseOS} \
42-
--enable={RepoRHEL8ServerSatelliteUtils}
43-
----
44-
. Enable the satellite-utils module:
45-
+
46-
[options="nowrap", subs="+quotes,verbatim,attributes"]
47-
----
48-
# dnf module enable satellite-utils
42+
--enable={RepoRHEL8ServerSatelliteServerProjectVersion}
4943
----
5044
endif::[]
5145
. Install the Pulp Manifest package:
5246
+
53-
[options="nowrap" subs="+quotes,attributes"]
47+
[options="nowrap", subs="+quotes,verbatim,attributes"]
5448
----
55-
# dnf install pulp-manifest
49+
ifdef::satellite[]
50+
# {package-install} python3.11-pulp_manifest
51+
endif::[]
52+
ifndef::satellite[]
53+
# {package-install} pulp-manifest
54+
endif::[]
5655
----
5756
. Create a directory that you want to use as the file type repository in the HTTP server's public folder:
5857
+
@@ -66,7 +65,7 @@ endif::[]
6665
----
6766
# touch /var/www/html/pub/__my_file_repo__/_test.txt_
6867
----
69-
. Run the Pulp Manifest command to create the manifest:
68+
. Create the Pulp manifest:
7069
+
7170
[options="nowrap" subs="+quotes"]
7271
----

0 commit comments

Comments
 (0)