Skip to content

Commit

Permalink
Merge pull request #295 from smcclellan/redhatfips7
Browse files Browse the repository at this point in the history
(MODULES-7329) Fix update failure for FIPS
  • Loading branch information
Sean P McDonald authored Jun 19, 2018
2 parents 2ce0feb + 5e9f955 commit 7bea2e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@
# Workaround PUP-5802/PUP-5025
if ($::operatingsystem == 'Fedora') {
$dist_tag = "fedoraf${::operatingsystemmajrelease}"
} elsif ($::platform_tag != undef and $::platform_tag =~ /redhatfips.*/) {
# The undef check here is for unit tests that don't supply this fact.
$dist_tag = 'redhatfips7'
} elsif $::operatingsystem == 'Amazon' {
$dist_tag = 'el6'
} else {
Expand Down

0 comments on commit 7bea2e4

Please sign in to comment.