Skip to content

Commit

Permalink
(PE-24301) Fix update failure for FIPS
Browse files Browse the repository at this point in the history
When the upgrade was attempted, the update command would not run
because it was looking for the wrong package name (el7 vs. redhatfips7).
This updates the name of the package to update to redhatfips7.
  • Loading branch information
Scott McClellan committed Jun 14, 2018
1 parent 7cb87f7 commit 30526b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@
# Workaround PUP-5802/PUP-5025
if ($::operatingsystem == 'Fedora') {
$dist_tag = "fedoraf${::operatingsystemmajrelease}"
} elsif ($::platform_tag != undef and $::platform_tag =~ /redhatfips.*/) {
$dist_tag = 'redhatfips7'
} elsif $::operatingsystem == 'Amazon' {
$dist_tag = 'el6'
} else {
Expand Down

0 comments on commit 30526b1

Please sign in to comment.