Please use `Facter::Util::Resolution.exec` : https://github.com/camptocamp/puppet-lvm/blob/master/lib/facter/lvm_support.rb#L29