Method: Puppet::ModuleTool::Applications::Unpacker#run

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

#runObject

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.



33
34
35
36
37
38
39
40
41
42
# File 'lib/puppet/module_tool/applications/unpacker.rb', line 33

def run
  unpack
  sanity_check
  module_dir = @module_path + module_name
  move_into(module_dir)

  # Return the Pathname object representing the directory where the
  # module release archive was unpacked the to.
  module_dir
end