Skip to content

Assert valkey service on EL10 in redis acceptance test - #412

Merged
ekohl merged 1 commit into
theforeman:masterfrom
Odilhao:valkey-el10-acceptance-test
Aug 3, 2026
Merged

Assert valkey service on EL10 in redis acceptance test#412
ekohl merged 1 commit into
theforeman:masterfrom
Odilhao:valkey-el10-acceptance-test

Conversation

@Odilhao

@Odilhao Odilhao commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • RHEL/CentOS Stream 10 dropped Redis in favor of Valkey (a Redis-protocol-compatible fork). puppet-redis already handles this correctly on EL10 by installing Package[valkey]/Service[valkey] instead of Package[redis]/Service[redis].
  • spec/acceptance/basic_spec.rb hardcoded the service name redis, which fails on EL10 even though the underlying install works correctly.
  • This makes the assertion OS-conditional: valkey on RedHat-family OSes release >= 10, redis otherwise.

Split out from #411 so this fix can land independently of the temporary EL10 CI job in that PR.

Test plan

RHEL/CentOS Stream 10 dropped Redis in favor of Valkey; puppet-redis
already handles this correctly by installing Package[valkey]/
Service[valkey] there instead of Package[redis]/Service[redis]. The
acceptance test hardcoded 'redis' as the service name, which fails
on EL10 even though the underlying install works.

Ref: theforeman/el10_rebuild#25
@Odilhao

Odilhao commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

Breaking this into another PR, so we can merge it for us to release with forklift and have the rpms published.

The valkey test worked at #411

@ekohl
ekohl merged commit dd52b69 into theforeman:master Aug 3, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants