diff --git a/manifests/repo/repoforge.pp b/manifests/repo/repoforge.pp deleted file mode 100644 index ab95d102..00000000 --- a/manifests/repo/repoforge.pp +++ /dev/null @@ -1,20 +0,0 @@ -# = Class: yum::repo::repoforge -# -# This class installs the repoforge repo -# -class yum::repo::repoforge { - - $osver = split($::operatingsystemrelease, '[.]') - - yum::managed_yumrepo { 'repoforge': - descr => 'RepoForge packages', - baseurl => "http://apt.sw.be/redhat/el${osver[0]}/en/\$basearch/rpmforge", - enabled => 1, - gpgcheck => 1, - gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag', - gpgkey_source => 'puppet:///modules/yum/rpm-gpg/RPM-GPG-KEY-rpmforge-dag', - priority => 1, - exclude => 'nagios-*', - } - -} diff --git a/manifests/repo/repoforgeextras.pp b/manifests/repo/repoforgeextras.pp deleted file mode 100644 index 5a4c73fa..00000000 --- a/manifests/repo/repoforgeextras.pp +++ /dev/null @@ -1,19 +0,0 @@ -# = Class: yum::repo::repoforgeextras -# -# This class installs the repoforge extras repo -# -class yum::repo::repoforgeextras { - - $osver = split($::operatingsystemrelease, '[.]') - - yum::managed_yumrepo { 'repoforgeextras': - descr => 'RepoForge extra packages', - baseurl => "http://apt.sw.be/redhat/el${osver[0]}/en/\$basearch/extras", - enabled => 1, - gpgcheck => 1, - gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag', - priority => 1, - exclude => 'perl-IO-Compress-* perl-DBD-MySQL', - } - -} diff --git a/manifests/repo/rpmforge.pp b/manifests/repo/rpmforge.pp deleted file mode 100644 index 6783c0e6..00000000 --- a/manifests/repo/rpmforge.pp +++ /dev/null @@ -1,34 +0,0 @@ -# = Class: yum::repo::rpmforge -# -# This class installs the rpmforge repo -# -class yum::repo::rpmforge { -$osver = split($::operatingsystemrelease, '[.]') - case $osver[0] { - '7': { - $baseurl = 'http://apt.sw.be/redhat/el7/en/$basearch/rpmforge' - $mirrorlist = 'http://apt.sw.be/redhat/el7/en/mirrors-rpmforge' - } - '6': { - $baseurl = 'http://apt.sw.be/redhat/el6/en/$basearch/rpmforge' - $mirrorlist = 'http://apt.sw.be/redhat/el6/en/mirrors-rpmforge' - } - '5': { - $baseurl = 'http://apt.sw.be/redhat/el5/en/$basearch/rpmforge' - $mirrorlist = 'http://apt.sw.be/redhat/el5/en/mirrors-rpmforge' - } - default: { fail('Unsupported version of Enterprise Linux') } - } - yum::managed_yumrepo { 'rpmforge': - baseurl => $baseurl, - mirrorlist => $mirrorlist, - descr => 'RHEL $releasever - RPMforge.net - dag', - enabled => 1, - gpgcheck => 1, - gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag', - gpgkey_source => 'puppet:///modules/yum/rpm-gpg/RPM-GPG-KEY-rpmforge-dag', - priority => 30, - } - -} -