Skip to content

Commit

Permalink
Merge pull request #9864 from Icinga/al2023
Browse files Browse the repository at this point in the history
Docs: change "Amazon Linux 2" to "Amazon Linux" where applicable
  • Loading branch information
julianbrost authored Nov 21, 2023
2 parents d2a7117 + d662ca0 commit cbb2caf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
16 changes: 10 additions & 6 deletions doc/02-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ zypper ar https://download.opensuse.org/repositories/server:/monitoring/15.3/ser
<!-- {% endif %} -->

<!-- {% if amazon_linux %} -->
### Amazon Linux 2 Repository <a id="amazon-linux-2-repository"></a>
### Amazon Linux Repository <a id="amazon-linux-2-repository"></a>

!!! info

Expand All @@ -214,12 +214,14 @@ rpm --import https://packages.icinga.com/icinga.key
wget https://packages.icinga.com/subscription/amazon/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
```

The packages for Amazon Linux 2 depend on other packages which are distributed
The packages for **Amazon Linux 2** depend on other packages which are distributed
as part of the [EPEL repository](https://fedoraproject.org/wiki/EPEL).

```bash
yum install epel-release
```

The packages for newer versions of Amazon Linux don't require additional repositories.
<!-- {% endif %} -->

<!-- {% if windows %} -->
Expand Down Expand Up @@ -307,7 +309,7 @@ zypper install icinga2

<!-- {% if amazon_linux %} -->
<!-- {% if not icingaDocs %} -->
#### Amazon Linux 2
#### Amazon Linux
<!-- {% endif %} -->
```bash
yum install icinga2
Expand Down Expand Up @@ -418,15 +420,17 @@ zypper install --recommends monitoring-plugins-all

<!-- {% if amazon_linux %} -->
<!-- {% if not icingaDocs %} -->
#### Amazon Linux 2
#### Amazon Linux
<!-- {% endif %} -->
The packages for Amazon Linux 2 depend on other packages which are distributed as part of the EPEL repository.
The packages for **Amazon Linux 2** depend on other packages which are distributed as part of the EPEL repository.

```bash
amazon-linux-extras install epel

yum install nagios-plugins-all
```

Unfortunately newer versions of Amazon Linux don't provide those plugins, yet.
<!-- {% endif %} -->

## Set up Icinga 2 API <a id="set-up-icinga2-api"></a>
Expand Down Expand Up @@ -505,7 +509,7 @@ Use your distribution's package manager to install the `icingadb-redis` package

<!-- {% if amazon_linux %} -->
<!-- {% if not icingaDocs %} -->
##### Amazon Linux 2
##### Amazon Linux
<!-- {% endif %} -->
```bash
yum install icingadb-redis
Expand Down
4 changes: 2 additions & 2 deletions doc/14-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ yum install icinga2-ido-mysql
zypper install icinga2-ido-mysql
```

###### Amazon Linux 2
###### Amazon Linux

```bash
yum install icinga2-ido-mysql
Expand Down Expand Up @@ -942,7 +942,7 @@ yum install icinga2-ido-pgsql
zypper install icinga2-ido-pgsql
```

###### Amazon Linux 2
###### Amazon Linux

```bash
yum install icinga2-ido-pgsql
Expand Down

0 comments on commit cbb2caf

Please sign in to comment.