Puppet Class: yum::repo::centos_testing

Defined in:
manifests/repo/centos_testing.pp

Overview

Class: yum::repo::centos_testing

Centos Testing

Parameters:

  • include_pkgs (Any) (defaults to: '')
  • exclude_pkgs (Any) (defaults to: undef)


5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/repo/centos_testing.pp', line 5

class yum::repo::centos_testing (
  $include_pkgs = '',
  $exclude_pkgs = undef
  ) {
  if $include_pkgs == '' {
    fail('Please configure $include_pkgs as we run the testing repo with highest repository')
  }

  yum::managed_yumrepo{'centos5-testing':
    descr       => 'CentOS-$releasever - Testing',
    baseurl     => 'http://dev.centos.org/centos/$releasever/testing/$basearch',
    enabled     => 1,
    gpgcheck    => 1,
    gpgkey      => 'http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing',
    priority    => 1,
    includepkgs => $include_pkgs,
    exclude     => $exclude_pkgs,
  }
}