Method: Puppet::ModuleTool::Applications::Unpacker#unpack

Defined in:
lib/puppet/module_tool/applications/unpacker.rb

#unpackObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



56
57
58
59
60
# File 'lib/puppet/module_tool/applications/unpacker.rb', line 56

def unpack
  Puppet::ModuleTool::Tar.instance.unpack(@filename.to_s, tmpdir, [@module_path.stat.uid, @module_path.stat.gid].join(':'))
rescue Puppet::ExecutionFailure => e
  raise RuntimeError, _("Could not extract contents of module archive: %{message}") % { message: e.message }
end