Skip to content

Commit

Permalink
Merge pull request #9509 from mhashizume/maint/main/rhel8-sssd
Browse files Browse the repository at this point in the history
Add workaround for test on Red Hat 8 POWER
  • Loading branch information
joshcooper authored Oct 28, 2024
2 parents b2b381b + e02fed5 commit 3068b8f
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 3068b8f

Please sign in to comment.