Puppet Class: pulp::repo::upstream

Defined in:
manifests/repo/upstream.pp

Overview

Create the yum repo definition for the upstream repository

Parameters:

  • version (Any) (defaults to: 2)


3
4
5
6
7
8
9
10
11
12
13
14
# File 'manifests/repo/upstream.pp', line 3

class pulp::repo::upstream(
  $version = 2,
) {
  # From https://repos.fedorapeople.org/repos/pulp/pulp/rhel-pulp.repo
  yumrepo { "pulp-${version}-stable":
    baseurl  => "https://repos.fedorapeople.org/repos/pulp/pulp/stable/${version}/\$releasever/\$basearch/",
    descr    => "Pulp ${version} Production Releases",
    enabled  => true,
    gpgcheck => true,
    gpgkey   => "https://repos.fedorapeople.org/repos/pulp/pulp/GPG-RPM-KEY-pulp-${version}",
  }
}