Skip to content

(CEM-6763) Add oraclelinux-10-x86_64 factset to fix reference_gen_test#86

Merged
pocketgeek merged 1 commit into
mainfrom
CEM-6763-add-oraclelinux-10-facts
Jun 3, 2026
Merged

(CEM-6763) Add oraclelinux-10-x86_64 factset to fix reference_gen_test#86
pocketgeek merged 1 commit into
mainfrom
CEM-6763-add-oraclelinux-10-facts

Conversation

@pocketgeek

@pocketgeek pocketgeek commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds files/fact_sets/oraclelinux-10-x86_64.facts so abide_dev_utils can resolve OS facts for OracleLinux 10 when generating SCE reference docs.
  • Cloned from the OracleLinux 9 factset (facterdb 4.11 family) with OS identity fields (os.release.major, os.distro.*) and kernel fields updated to OL 10.0 / kernel 6.12.x.
  • AlmaLinux 10 and Rocky 10 are already present in facterdb 4.1.0; this closes the OracleLinux 10 gap in the abide files/fact_sets/ directory.

Without this file, abide sce generate reference fails with:

AbideDevUtils::Errors::BenchmarkLoadError: Error loading benchmark: undefined method `[]' for nil:NilClass, Framework: cis, OS Name: OracleLinux, OS Version: 10

Test plan

  • File is valid JSON
  • os.name = "OracleLinux", os.release.major = "10", os.family = "RedHat"
  • Ruby one-liner confirms abide resolves the facts: bundle exec ruby -e "require 'abide_dev_utils'; puts AbideDevUtils::Ppt::FacterUtils::FactSets.new.find_by_fact_value_tuples(['os.name','OracleLinux'],['os.release.major','10']).dig('os','name')"

🤖 Generated with Claude Code

@pocketgeek pocketgeek requested a review from a team as a code owner June 3, 2026 00:34
@pocketgeek pocketgeek requested a review from Tu2607 June 3, 2026 00:34
@bastelfreak

Copy link
Copy Markdown

Why don't you update to latest FacterDB instead? It contains multiple OL 10 factsets.

@pocketgeek pocketgeek force-pushed the CEM-6763-add-oraclelinux-10-facts branch from dbad5b0 to bf338c2 Compare June 3, 2026 14:37
Adds files/fact_sets/oraclelinux-10-x86_64.facts so that abide_dev_utils
can resolve OS facts for OracleLinux 10 when generating SCE reference docs.
Based on the OracleLinux 9 factset (facterdb 4.11) with OS identity and
kernel fields updated to reflect Oracle Linux 10.0 (kernel 6.12.x).

AlmaLinux 10 and Rocky 10 are already present in facterdb 4.1.0; this
closes the OracleLinux 10 gap in the abide external fact_sets directory.

Also adds specifications/CEM-6763.md documenting the change and bumps
the gem version from 0.18.6 to 0.18.7.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pocketgeek pocketgeek force-pushed the CEM-6763-add-oraclelinux-10-facts branch from bf338c2 to d2c7b99 Compare June 3, 2026 14:45
@pocketgeek pocketgeek merged commit 871a934 into main Jun 3, 2026
2 checks passed
@pocketgeek pocketgeek deleted the CEM-6763-add-oraclelinux-10-facts branch June 3, 2026 15:27
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.

3 participants