Sha256: 330eafe4739f4639ffaf307295e9654d0f677fdf4be2639dfda0495f3cdd0444
Contents?: true
Size: 434 Bytes
Versions: 178
Compression:
Stored size: 434 Bytes
Contents
require 'puppet/module_tool' require 'puppet/util' module Puppet::ModuleTool::Tar require 'puppet/module_tool/tar/gnu' require 'puppet/module_tool/tar/mini' def self.instance if Puppet::Util.which('tar') && ! Puppet::Util::Platform.windows? Gnu.new elsif Puppet.features.minitar? && Puppet.features.zlib? Mini.new else raise RuntimeError, 'No suitable tar implementation found' end end end
Version data entries
178 entries across 178 versions & 2 rubygems