From 4964f1a4a0adb1867211c8d77a0516fede4822a1 Mon Sep 17 00:00:00 2001
From: Alex Iribarren <Alex.Iribarren@cern.ch>
Date: Thu, 7 Oct 2021 16:33:11 +0200
Subject: [PATCH] RQF1894131: Added icinga2-el7

---
 prod.repos.d/icinga2-el8.repo |  6 ------
 prod.repos.d/icinga2.repo     | 13 +++++++++++++
 2 files changed, 13 insertions(+), 6 deletions(-)
 delete mode 100644 prod.repos.d/icinga2-el8.repo
 create mode 100644 prod.repos.d/icinga2.repo

diff --git a/prod.repos.d/icinga2-el8.repo b/prod.repos.d/icinga2-el8.repo
deleted file mode 100644
index 34a0f54..0000000
--- a/prod.repos.d/icinga2-el8.repo
+++ /dev/null
@@ -1,6 +0,0 @@
-[icinga2-el8]
-name=Icinga 2 RPM Repository
-baseurl=https://packages.icinga.com/epel/8/release
-enabled=1
-gpgcheck=1
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-icinga2
diff --git a/prod.repos.d/icinga2.repo b/prod.repos.d/icinga2.repo
new file mode 100644
index 0000000..f02c0fc
--- /dev/null
+++ b/prod.repos.d/icinga2.repo
@@ -0,0 +1,13 @@
+[icinga2-el8]
+name=Icinga 2 RPM Repository
+baseurl=https://packages.icinga.com/epel/8/release
+enabled=1
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-icinga2
+
+[icinga2-el7]
+name=Icinga 2 RPM Repository
+baseurl=https://packages.icinga.com/epel/7/release
+enabled=1
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-icinga2
-- 
GitLab