+++ /dev/null
-# EPEL Packages
-
-[epel]
-name=Extra Packages for Enterprise Linux 7 - $basearch
-baseurl=https://repo01.pixelpark.com/Linux/yum/epel/7/$basearch
-failovermethod=priority
-enabled=1
-gpgcheck=1
-gpgkey=https://repo01.pixelpark.com/gpg/RPM-GPG-KEY-EPEL-7
-repo_gpgcheck=0
-
-[epel-debuginfo]
-name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
-#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
-failovermethod=priority
-enabled=0
-gpgcheck=1
-gpgkey=https://repo01.pixelpark.com/gpg/RPM-GPG-KEY-EPEL-7
-repo_gpgcheck=0
-metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
-
-[epel-source]
-name=Extra Packages for Enterprise Linux 7 - $basearch - Source
-#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
-mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
-failovermethod=priority
-enabled=0
-gpgkey=https://repo01.pixelpark.com/gpg/RPM-GPG-KEY-EPEL-7
-gpgcheck=1
-repo_gpgcheck=0
-metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
-
-# vim: filetype=dosini
+++ /dev/null
-# Icinga.repo
-#
-
-[icinga]
-name=ICINGA (stable release for epel)
-baseurl=https://repo01.pixelpark.com/Linux/yum/icinga
-enabled=1
-gpgcheck=1
-gpgkey=https://repo01.pixelpark.com/gpg/icinga2.gpg
-
-# vim: filetype=dosini
+++ /dev/null
-# Pixelpark.repo
-#
-
-[pixelpark]
-name=pixelpark
-baseurl=https://repo01.pixelpark.com/Linux/yum/pixelpark/7
-enabled=1
-gpgcheck=1
-gpgkey=https://repo01.pixelpark.com/gpg/pixelpark.gpg
-
-# vim: filetype=dosini
+++ /dev/null
-# Prometheus.repo
-#
-
-[prometheus]
-name=Prometheus Last Repo
-baseurl=https://repo01.pixelpark.com/Linux/yum/prometheus/
-enabled=1
-gpgcheck=1
-gpgkey=https://repo01.pixelpark.com/gpg/prometheus.gpg
-
-# vim: filetype=dosini
+++ /dev/null
-# Puppet.repo
-#
-
-[puppet]
-name=Puppet Repository el $releasever - $basearch
-baseurl=https://repo01.pixelpark.com/Linux/yum/puppetlabs/puppet5/el/$releasever/$basearch
-gpgkey=https://repo01.pixelpark.com/Linux/yum/puppetlabs/RPM-GPG-KEY-puppet
-enabled=1
-gpgcheck=1
-
-# vim: filetype=dosini
+++ /dev/null
-# Wazuh.repo
-#
-
-[wazuh]
-name=Wazuh repository
-baseurl=https://repo01.pixelpark.com/Linux/yum/wazuh
-enabled=1
-gpgcheck=1
-gpgkey=https://repo01.pixelpark.com/gpg/wazuh.gpg
-
-# vim: filetype=dosini
name=CentOS-$releasever - PowerTools
baseurl=https://repo01.pixelpark.com/Linux/yum/centos/$releasever/PowerTools/$basearch/os/
gpgcheck=1
-enabled=0
+enabled=1
gpgkey=https://repo01.pixelpark.com/gpg/RPM-GPG-KEY-centosofficial
# vim: filetype=dosini
[icinga]
name=ICINGA (stable release for epel)
-baseurl=https://repo01.pixelpark.com/Linux/yum/icinga
+baseurl=https://repo01.pixelpark.com/Linux/yum/icinga/8
enabled=1
gpgcheck=1
gpgkey=https://repo01.pixelpark.com/gpg/icinga2.gpg
[prometheus]
name=Prometheus Lest Repo
-baseurl=https://repo01.pixelpark.com/Linux/yum/prometheus/
+baseurl=https://repo01.pixelpark.com/Linux/yum/prom/8/
enabled=1
gpgcheck=1
gpgkey=https://repo01.pixelpark.com/gpg/prometheus.gpg
[icinga]
name=ICINGA (stable release for epel)
-baseurl=https://repo01.pixelpark.com/Linux/yum/icinga
+baseurl=https://repo01.pixelpark.com/Linux/yum/icinga/7
enabled=1
gpgcheck=1
gpgkey=https://repo01.pixelpark.com/gpg/icinga2.gpg
[prometheus]
name=Prometheus Last Repo
-baseurl=https://repo01.pixelpark.com/Linux/yum/prometheus/
+baseurl=https://repo01.pixelpark.com/Linux/yum/prom/7/
enabled=1
gpgcheck=1
gpgkey=https://repo01.pixelpark.com/gpg/prometheus.gpg
echo "Using snippet $get_repos_snippet"
$SNIPPET($get_repos_snippet)
+#set $get_repos_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.170.repos_el7.sh"
+echo
+echo "Using snippet $get_repos_snippet"
+$SNIPPET($get_repos_snippet)
+
#set $init_repos_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.200.init-repos.sh"
echo
echo "Using snippet $init_repos_snippet"
local base_url="${COBBLER_URL}/${ws_rel_filesdir}/${system_status}/repos/centos7"
local -a repos=('CentOS-Base' 'CentOS-CR' 'CentOS-fasttrack')
- repos+=('epel' 'icinga' 'pixelpark' 'prometheus' 'puppet' 'wazuh')
local repo=
local url=