Merge "Do not enable Epel repo in case of Fedora"

This commit is contained in:
Zuul 2018-07-03 14:56:14 +00:00 committed by Gerrit Code Review
commit b53459291b
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ not on ${::operatingsystem}, which can lead to packaging issues.")
}
}
if $enable_epel {
if $enable_epel and ($::operatingsystem != 'Fedora') {
yumrepo { "ext-epel-${el}":
# puppet versions prior to 3.5 do not support ensure, use enabled instead
enabled => $enabled,