Puppet Class: psick::pe_repo
- Defined in:
- manifests/pe_repo.pp
Overview
This class manages the /etc/yum.repos.d/pe_repo.repo file
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/pe_repo.pp', line 5
class psick::pe_repo (
Enum['present','absent'] $ensure = 'present',
Boolean $manage = $psick::manage,
Boolean $noop_manage = $psick::noop_manage,
Boolean $noop_value = $psick::noop_value,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
file { '/etc/yum.repos.d/pe_repo.repo':
ensure => $ensure,
source => 'puppet:///modules/psick/pe_repo/pe_repo.repo',
}
}
}
|