Sha256: 4ac3de5e96b390ce2eee1789e3a9a90a4e784ee119e40d79f2d9499d76a8a6d8
Contents?: true
Size: 472 Bytes
Versions: 16
Compression:
Stored size: 472 Bytes
Contents
Facter.add(:foo) do setcode do raise 'nope' unless Facter::Core::Execution.which('not_a_command').nil? raise 'nope' if Facter::Core::Execution.which('sh').nil? && Facter::Core::Execution.which('cmd.exe').nil? raise 'nope' if (Facter::Core::Execution.which('sh') != Facter::Util::Resolution.which('sh')) || (Facter::Core::Execution.which('cmd.exe') != Facter::Util::Resolution.which('cmd.exe')) 'bar' end end
Version data entries
16 entries across 16 versions & 2 rubygems