Skip to content

Fix Gentoo test coverage - #107

Open
alaunay wants to merge 1 commit into
voxpupuli:masterfrom
alaunay:fix_gentoo_support
Open

alaunay wants to merge 1 commit into
voxpupuli:masterfrom
alaunay:fix_gentoo_support

Conversation

@alaunay

@alaunay alaunay commented Nov 27, 2026 •

Copy link
Copy Markdown

Add Gentoo to the fact-based supported OS set by dropping the bogus Gentoo 4 release pin. No facterdb data matches that release.

Expect the plugins under /usr/lib64/nagios/plugins on Gentoo x86_64, as the Gentoo ebuild installs them in /usr/$(get_libdir).

Drop the facter 3.6 pin from the service spec. FacterDB has no 3.6 facts, so that spec ran zero examples.

Supersedes PR #31

Drop the bogus Gentoo 4 release pin. No facterdb data matches that
release, so Gentoo was silently excluded from on_supported_os.

Expect plugins under /usr/lib64/nagios/plugins on Gentoo x86_64, as the
Gentoo ebuild installs them in /usr/$(get_libdir).

Drop the facter 3.6 pin from the service spec. FacterDB has no 3.6
facts, so that spec ran zero examples.

Add a guard asserting on_supported_os includes Gentoo facts, so a
metadata regression cannot silently drop the coverage again.

Co-authored-by: DeepSeek V4.1 Flash <noreply@opencode.ai>
Signed-off-by: Arnaud Launay <alaunay@cusae.com>
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.

1 participant