nanliu/facter — comment on commit 8801f6cff38ab1529115f4a22327b2ff3e148b55
File: lib/facter/zpool_version.rb line 8
By stschulte:

is zfs available on all SunOS Boxes? If not the Resolution.exec returns nil and then we'll get an exception when match is called on nil. This would cause error messages on all system that do not have the zfs binaries. A simple test whether zpool_v is nil should fix that