Revision d14d6767
Added by Clemens Bergmann about 10 years ago
manifests/install/repos.pp | ||
---|---|---|
include foreman::params
|
||
|
||
case $::osfamily {
|
||
RedHat: {
|
||
'RedHat': {
|
||
foreman::install::repos::yum {$name:
|
||
repo => $repo,
|
||
yumcode => $foreman::params::yumcode,
|
||
gpgcheck => $gpgcheck,
|
||
}
|
||
}
|
||
Debian: {
|
||
'Debian': {
|
||
foreman::install::repos::apt {$name:
|
||
repo => $repo,
|
||
}
|
||
}
|
||
Linux: {
|
||
'Linux': {
|
||
case $::operatingsystem {
|
||
Amazon: {
|
||
'Amazon': {
|
||
foreman::install::repos::yum {$name:
|
||
repo => $repo,
|
||
yumcode => $foreman::params::yumcode,
|
Also available in: Unified diff
more quotes around case statements