pyinfra
pyinfra copied to clipboard
Add ZFS operations and facts
This MR adds facts and operations for dealing with ZFS filesystems, and tests to cover them.
Most of the logic is in pyinfra.facts.zfs.Datasets and pyinfra.operations.zfs.dataset ("dataset" being the broad ZFS term for either a filesystem, a block volume or a snapshot) but I've also added convenience functions for each specific type of dataset, to make it a little easier to understand when in use.
I've cleared up the linter issues -- is there anything else you'd want changed?