Skip to content

Commit 807de3b

Browse files
authored
Merge pull request #9510 from puppetlabs/backport-9509-to-7.x
[Backport 7.x] Add workaround for test on Red Hat 8 POWER
2 parents ded3c99 + b3befb9 commit 807de3b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

acceptance/tests/resource/user/should_create_modify_with_password.rb

+7
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@
4141
end
4242

4343
step 'modify the user with a different password' do
44+
# There is a known issue with SSSD and Red Hat 8, this is a temporary workaround until a permanent fix is
45+
# implemented in our images. See ITHELP-100250
46+
# https://access.redhat.com/solutions/7031304
47+
if agent['platform'] = 'el-8-ppc64le'
48+
on(agent, 'systemctl stop sssd; rm -f /var/lib/sss/db/*; systemctl start sssd', acceptable_exit_codes: 0)
49+
end
50+
4451
apply_manifest_on(agent, <<-MANIFEST, catch_failures: true)
4552
user { '#{name}':
4653
ensure => present,

0 commit comments

Comments
 (0)