Skip to content

Commit fcc3808

Browse files
ebgitelmandjw-m
authored andcommitted
Edits to Repos Update: Draft guides for integration #6061
1 parent 6d3e3ec commit fcc3808

File tree

2 files changed

+31
-33
lines changed

2 files changed

+31
-33
lines changed

advocacy_docs/repos/working_with_repos/integrating/artifactory.mdx

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
11
---
2-
title: Using Hosted Artifactory with EDB repositories
2+
title: Using hosted Artifactory with EDB repositories
33
navTitle: Hosted Artifactory
4-
description: How to use Hosted JFrog Artifactory with EDB repositories
4+
description: How to use hosted JFrog Artifactory with EDB repositories.
55
---
66

7-
To set up Hosted JFrog Artifactory with EDB repositories, you need to create remote repositories in Artifactory. This article shows how to use Hosted JFrog Artifactory with EDB repositories. The process is different for on-premises Artifactory.
7+
To set up hosted JFrog Artifactory with EDB repositories, you need to create remote repositories in Artifactory, as described in the procedure that follows. The process is different for on-premises Artifactory.
88

99
## Get the base URLs
1010

11-
The process is requires a base URLs to access the EDB repositories.
11+
The process requires that you first get the base URLs to access the EDB repositories.
1212

1313
1. From your EDB account, [get your token](../../getting_started/with_cli/get_your_token).
1414

15-
1. Make a note of your token, for our examples, the token will be `xyz123`.
15+
1. Make a note of your token. For this example, the token is `xyz123`.
1616

17-
1. Select the repository you want to access, for example, `standard`. :
17+
1. Select the repository you want to access, for example, `standard`.
1818

19-
1. Your base URL will is then formed as:
19+
1. Your base URL is then formed as:
2020

2121
```
2222
https://downloads.enterprisedb.com/<token>/<repository>/
2323
```
2424

25-
For the `standard` with our token, the repository, the base URL will be:
25+
For the `standard` repository with the same token, the base URL is:
2626

2727
```
2828
https://downloads.enterprisedb.com/xyz123/standard/
2929
```
3030

3131
1. Append the appropriate path for the repository type.
32-
For example, for a Red Hat Enterprise Linux 9 on x86 architecture, append `rpm/el/9/x86_64/` and seperately append `rpm/el/9/noarch/` for the noarch packages, to create two base URLs. With our example, the base URLs will be:
32+
For example, for a Red Hat Enterprise Linux 9 on x86 architecture, to create the two base URLs, append `rpm/el/9/x86_64/`. Then separately append `rpm/el/9/noarch/` for the `noarch` packages. Using the same example token and repository, the base URLs are:
3333

3434
```
3535
https://downloads.enterprisedb.com/xyz123/standard/rpm/el/9/x86_64/
3636
https://downloads.enterprisedb.com/xyz123/standard/rpm/el/9/noarch/
3737
```
3838

39-
## Setup Artifactory remote repositories
39+
## Set up Artifactory remote repositories
4040

41-
With your base URLs, you can now create the remote repositories in Artifactory.
41+
After you have your base URLs, you can create the remote repositories in Artifactory.
4242

43-
Use the Artifactory UI to create the 2 repositories (`x86_64` and `noarch`), one for each base URL. The `x86_64` repository will contain the `rpm` packages specifically for the `x86_64` architecture, and the `noarch` repository will contain the `rpm` packages which are for any architecture.
43+
Use the Artifactory interface to create the two repositories (`x86_64` and `noarch`), one for each base URL. The `x86_64` repository will contain the `rpm` packages specifically for the `x86_64` architecture. The `noarch` repository will contain the `rpm` packages, which are for any architecture.
4444

4545
Starting with the `x86_64` base URL:
4646

47-
1. Select **Create Repository** and choose **Remote**.
48-
1. Choose **rpm** as the repository type.
47+
1. Select **Create Repository > Remote**.
48+
1. Select **rpm** as the repository type.
4949
1. Enter a unique name for the repository key, for example, `edb-x86_64`.
50-
1. Fill in the URL as `https://downloads.enterprisedb.com/xyz123/standard/rpm/el/9/x86_64/`.
50+
1. Enter the `x86_64` base URL, for example, `https://downloads.enterprisedb.com/xyz123/standard/rpm/el/9/x86_64/`.
5151
1. Select **Create Remote Repository**.
5252

53-
At this point, a prompt to setup the `yum` client configuration appears. This client configuration is the configuration you use on your local server or VM to access the configured EDB repositories via Artifactory.
53+
A prompt to set up the yum client configuration appears. This client configuration is the configuration you use on your local server or VM to access the configured EDB repositories via Artifactory.
5454

55-
6. On your local RHEL 9 server or VM create the yum repository file `/etc/yum.repos.d/artifactory-edb.repo`.
55+
1. On your local RHEL 9 server or VM, create the yum repository file `/etc/yum.repos.d/artifactory-edb.repo`.
5656

57-
7. Add the text generated by Artifactory to the `/etc/yum.repos.d/artifactory-edb.repo` file. The generated text should resemble:
57+
1. Add the text generated by Artifactory to the `/etc/yum.repos.d/artifactory-edb.repo` file. The generated text should resemble:
5858

5959
```
6060
[Artifactory]
@@ -64,9 +64,9 @@ At this point, a prompt to setup the `yum` client configuration appears. This cl
6464
gpgcheck=0
6565
```
6666

67-
Remove the `<PATH_TO_REPODATA_FOLDER>` from the baseurl. It's not needed.
67+
Remove `<PATH_TO_REPODATA_FOLDER>` from the baseurl. It's not needed.
6868

69-
You should also edit the `Artifactory` name to be more descriptive and unique as there are multiple repositories to add. For example, append `-edb-x86_64` to the name to give:
69+
Also edit the name to be more descriptive and unique, as there are multiple repositories to add. For example, append `-edb-x86_64` to the name:
7070

7171
```
7272
[Artifactory-edb-x86_64]
@@ -78,7 +78,7 @@ At this point, a prompt to setup the `yum` client configuration appears. This cl
7878

7979
Save the file.
8080

81-
8. Repeat the process, steps 1-7, to create an Artifactory remote repository for the `noarch` repository. When you generate the **yum** configuration text, add that text to the `/etc/yum.repos.d/artifactory-edb.repo` file previously created. The file should now contain:
81+
1. Repeat steps 1-7, to create an Artifactory remote repository for the `noarch` repository. After you generate the yum configuration text, add that text to the `/etc/yum.repos.d/artifactory-edb.repo` file you previously created. The file should now contain:
8282

8383
```
8484
[Artifactory-edb-x86_64]
@@ -94,31 +94,32 @@ At this point, a prompt to setup the `yum` client configuration appears. This cl
9494
gpgcheck=0
9595
```
9696

97-
## Check the configuration works
98-
99-
On the local Linux server where the `/etc/yum.repos.d/artifactory-edb.repo` file resides, check that the repositories configuration is correct by running the following command:
97+
## Check that the configuration works
10098

99+
On the local Linux server where the `/etc/yum.repos.d/artifactory-edb.repo` file resides, check that the repository's configuration is correct by running the following command:
101100

102101
```bash
103102
dnf repolist | grep -i Art
104103
```
105104

106-
The output returned should be:
105+
A correct configuration produces the following output:
107106

108107
```
109108
Artifactory-edb-noarch Artifactory-edb-noarch
110109
Artifactory-edb-x86_64 Artifactory-edb-x86_64
111110
```
112111

113-
As you can see the two repositories are now configured.
112+
This result indicates that the two repositories are configured.
113+
114+
You can now check for a specific package, such as `postgresextended` in the Artifactory repository, using the `dnf list` command.
114115

115-
You can now check for a specific package, such as `postgresextended` in the Artifactory repository, using the `dnf list` command. The package name for this example is `edb-postgresextended15-server` which is EDB Postgres Extended 15. To ensure that you don't get false positives from other repositories, disable all repositories using `--disable-repo=*` and then only enable the `Artifactory-` prefixed repositories using `--enablerepo=Artifactory-*`:
116+
The package name for this example is `edb-postgresextended15-server`, which is EDB Postgres Extended 15. To ensure that you don't get false positives from other repositories, disable all repositories using `--disable-repo=*`, and then enable only the `Artifactory-` prefixed repositories using `--enablerepo=Artifactory-*`:
116117

117118
```bash
118119
dnf list edb-postgresextended15-server --disablerepo=* --enablerepo=Artifactory-*
119120
```
120121

121-
If configured and working correctly the output should resemble:
122+
If the repository is configured and working correctly the output resembles:
122123

123124
```
124125
Updating Subscription Management repositories.
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
---
2-
title: Integrating with configuration management tools with EDB repositories
2+
title: Integrating configuration management tools with EDB repositories
33
navTitle: Integrating
44
description: How to integrate EDB repositories with configuration management tools
55
---
66

7-
In this section, you will find information on how to integrate EDB repositories with configuration management tools.
7+
This section includes information on how to integrate EDB repositories with configuration management tools.
88

99
* [Hosted JFrog Artifactory](artifactory)
1010

1111
<br/>
1212
<br/>
1313
<br/>
14-
15-
16-

0 commit comments

Comments
 (0)