Sha256: 81e595c95c3fb695a9151fb492038f65d5c3ac23e8f39ba56e20b557d8e22b1b
Contents?: true
Size: 509 Bytes
Versions: 395
Compression:
Stored size: 509 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.features.minitar? && Puppet.features.zlib? Mini.new elsif Puppet::Util.which('tar') && ! Puppet::Util::Platform.windows? Gnu.new else #TRANSLATORS "tar" is a program name and should not be translated raise RuntimeError, _('No suitable tar implementation found') end end end
Version data entries
395 entries across 395 versions & 2 rubygems