Skip to content

Commit

Permalink
Merge pull request #9510 from puppetlabs/backport-9509-to-7.x
Browse files Browse the repository at this point in the history
[Backport 7.x] Add workaround for test on Red Hat 8 POWER
  • Loading branch information
mhashizume authored Oct 28, 2024
2 parents ded3c99 + b3befb9 commit 807de3b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
end

step 'modify the user with a different password' do
# There is a known issue with SSSD and Red Hat 8, this is a temporary workaround until a permanent fix is
# implemented in our images. See ITHELP-100250
# https://access.redhat.com/solutions/7031304
if agent['platform'] = 'el-8-ppc64le'
on(agent, 'systemctl stop sssd; rm -f /var/lib/sss/db/*; systemctl start sssd', acceptable_exit_codes: 0)
end

apply_manifest_on(agent, <<-MANIFEST, catch_failures: true)
user { '#{name}':
ensure => present,
Expand Down

0 comments on commit 807de3b

Please sign in to comment.