Skip to content

Add support for ZFS facts on GNU/Linux #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add support for ZFS facts on GNU/Linux #13

wants to merge 1 commit into from

Conversation

smortex
Copy link
Member

@smortex smortex commented Jun 16, 2025

OpenZFS can be installed on Linux nodes, and is packaged in some Linux distros such as Debian, so it makes sense to make these facts available when the system has support for ZFS.

This patch was created by copying the FreeBSD code and adjusting the namespaces, and tested successfully on a Debian 12 node.

Originally submitted as:
puppetlabs/facter#2782

@smortex
Copy link
Member Author

smortex commented Jun 16, 2025

This is arguably not ideal, and maybe the current ZFS-related code should better be removed from this core component, and provided with a puppet module (e.g. the puppetlabs-zfs_core). That would a be backward-incompatible change though, and maybe not the way we want to go.

I am opening this for discussion, but am very interested in the feature in the control repos I manage 😉

Relates to voxpupuli/language-steering#13

OpenZFS can be installed on Linux nodes, and is packaged in some Linux
distros such as Debian, so it makes sense to make these facts available
when the system has support for ZFS.
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