module Puppet::ModuleTool::Tar
Public Class Methods
instance()
click to toggle source
# File lib/puppet/module_tool/tar.rb 9 def self.instance 10 if Puppet.features.minitar? && Puppet.features.zlib? 11 Mini.new 12 elsif Puppet::Util.which('tar') && ! Puppet::Util::Platform.windows? 13 Gnu.new 14 else 15 #TRANSLATORS "tar" is a program name and should not be translated 16 raise RuntimeError, _('No suitable tar implementation found') 17 end 18 end