From f3057ba60f7b4d6716dca4f44720c893c850c4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 30 Nov 2011 17:20:12 +0200 Subject: [PATCH] Added support for centos-cr repository. --- yum/manifests/init.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/yum/manifests/init.pp b/yum/manifests/init.pp index fd807bc..a37e2a4 100644 --- a/yum/manifests/init.pp +++ b/yum/manifests/init.pp @@ -125,6 +125,23 @@ class yum::repo::adobe { } +# Add CentOS CR (continuous release) repository +# +class yum::repo::centos-cr { + + tag("bootstrap") + + if $operatingsystem != "CentOS" { + fail("CentOS CR repository not supported in ${operatingsystem}") + } + + package { "centos-release-cr": + ensure => installed, + } + +} + + # Add Fedora EPEL repository # class yum::repo::epel {