Puppet Class: mofed::repo
- Defined in:
- manifests/repo.pp
Overview
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'manifests/repo.pp', line 2
class mofed::repo {
assert_private()
if $mofed::manage_repo {
case $::osfamily {
'RedHat': {
yumrepo { 'mlnx_ofed':
descr => 'MLNX_OFED Repository',
baseurl => $mofed::repo_baseurl,
enabled => '1',
gpgkey => $mofed::repo_gpgkey,
gpgcheck => $mofed::repo_gpgcheck,
exclude => $mofed::repo_exclude,
priority => $mofed::repo_priority,
}
}
default: {
# Do nothing
}
}
}
}
|