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