Skip to content

Remove inspec-based acceptance tests for EL7#214

Merged
silug merged 3 commits into
simp:masterfrom
silug:remove-inspec-el7-tests
May 19, 2026
Merged

Remove inspec-based acceptance tests for EL7#214
silug merged 3 commits into
simp:masterfrom
silug:remove-inspec-el7-tests

Conversation

@silug
Copy link
Copy Markdown
Contributor

@silug silug commented May 19, 2026

EL7 is no longer supported and the upstream inspec-profile-disa_stig-el7 repository is unmaintained, so the fixture and its acceptance suite no longer provide useful coverage. Also drops the leftover inspec hack from the STIG enforcement spec, which only existed to seed profile fixtures for the inspec run.

silug and others added 2 commits May 19, 2026 17:16
EL7 is no longer supported and the upstream inspec-profile-disa_stig-el7
repository is unmaintained, so the fixture and its acceptance suite no
longer provide useful coverage. Also drops the leftover inspec hack
from the STIG enforcement spec, which only existed to seed profile
fixtures for the inspec run.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This compliance-suite nodeset only declared an EL7 host named
`el7-auditd-inspec` and was not referenced anywhere else. With EL7
support and the inspec acceptance tests gone, it has no remaining use;
the suite still falls back to the adjacent default.yml nodeset.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
With the inspec-based tests gone, what remained in the compliance
suite was a STIG enforcement test that drives Hiera through
`compliance_markup::enforcement`. Recent cleanup removed the
`compliance_markup` fixture (see "Remove unmaintained Compliance Engine
data"), so the lookup_key function is no longer loaded during the test
and the suite cannot run. The default nodeset is also EL7-pinned, which
is no longer supported. Any OSCAP/SSG specs in the suite are EL7-pinned
and either already pending or otherwise unused, so they are dropped
along with the rest.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@silug silug changed the title Remove inspec el7 tests Remove inspec-based acceptance tests for EL7 May 19, 2026
@silug silug merged commit d9fd832 into simp:master May 19, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in Org Triage May 19, 2026
@silug silug deleted the remove-inspec-el7-tests branch May 19, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants