Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pyinfra/facts/zfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _process_zfs_props_table(output):
class ZfsPools(FactBase):
@override
def command(self) -> str:
return "zpool get -H all"
return "zpool get -Hp all"

@override
def requires_command(self) -> str:
Expand All @@ -34,7 +34,7 @@ def process(self, output):
class ZfsDatasets(FactBase):
@override
def command(self) -> str:
return "zfs get -H all"
return "zfs get -Hp all"

@override
def requires_command(self) -> str:
Expand Down
2 changes: 1 addition & 1 deletion tests/facts/zfs.Datasets/datasets.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: zfs get -H all
command: zfs get -Hp all
requires_command: zfs
output: |
tank type filesystem -
Expand Down
2 changes: 1 addition & 1 deletion tests/facts/zfs.Filesystems/filesystems.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: zfs get -H all
command: zfs get -Hp all
requires_command: zfs
output: |
tank type filesystem -
Expand Down
2 changes: 1 addition & 1 deletion tests/facts/zfs.Pools/pools.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: zpool get -H all
command: zpool get -Hp all
requires_command: zpool
output: |
tank compression lz4 -
Expand Down
2 changes: 1 addition & 1 deletion tests/facts/zfs.Snapshots/snapshots.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: zfs get -H all
command: zfs get -Hp all
requires_command: zfs
output: |
tank type filesystem -
Expand Down
2 changes: 1 addition & 1 deletion tests/facts/zfs.Volumes/volumes.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: zfs get -H all
command: zfs get -Hp all
requires_command: zfs
output: |
tank type filesystem -
Expand Down