Puppet Class: pulp::repo
- Defined in:
- manifests/repo.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/repo.pp', line 1
class pulp::repo($ensure) {
if $ensure == 'absent' {
yumrepo { 'pulp-v2-stable':
enabled => 'absent'
}
} else {
if $ensure == 'disabled' {
$enabled = 0
} else {
$enabled = 1
}
yumrepo { 'pulp-v2-stable':
enabled => $enabled,
baseurl => 'http://repos.fedorapeople.org/repos/pulp/pulp/stable/2/$releasever/$basearch/',
descr => 'Pulp v2 Production Releases',
gpgcheck => 0
}
}
}
|