Puppet Class: collectd::repo::redhat

Defined in:
manifests/repo/redhat.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
# File 'manifests/repo/redhat.pp', line 1

class collectd::repo::redhat {
  if $collectd::ci_package_repo {
    yumrepo { 'collectd-ci':
      ensure  => present,
      enabled => '1',
      baseurl => "https://pkg.ci.collectd.org/rpm/collectd-${collectd::ci_package_repo}/epel-${facts['os']['release']['major']}-${facts['os']['architecture']}",
      gpgkey  => 'https://pkg.ci.collectd.org/pubkey.asc',
    }
  } else {
    require epel
  }
}