The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #13542

PMT cannot install tarballs for modules that don't exist on the Forge

Added by Pieter van de Bruggen about 2 years ago. Updated 4 months ago.

Status:Code InsufficientStart date:03/29/2012
Priority:NormalDue date:
Assignee:Michal Ruzicka% Done:

0%

Category:-
Target version:-
Affected Puppet version: Branch:https://github.com/puppetlabs/puppet/pull/1508
Keywords:local-install, tarball, install, customer, pmtv3,

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket is now tracked at: https://tickets.puppetlabs.com/browse/PUP-1130


Description

At present, unless you specify the --ignore-dependencies flag, the module tool behaves as follows when told to install a tarball:

  • Verify that the name ends in .tar.gz
  • Copy the tarball into the staging area
  • Decompose the filename into author, module short name, and version components
  • Ask the Forge for the dependency information for that author/module/version combination
  • Download tarballs for each of the dependencies
  • Unpack the tarballs as usual

If you try to install a tarball that doesn’t exist on the Forge, the tool fails.

If you try to install a tarball that doesn’t match the naming convention authorname-modname-version.tar.gz, the tool fails.

If you try to install a tarball and you have no ability to connect to the forge, the tool fails.

If your tarball contains dependency information of its own, the tool ignores it.


Related issues

Related to Puppet - Bug #15100: Puppet Module subcommand doesn't download locally unless ... Duplicate 06/18/2012
Duplicated by Puppet - Bug #14528: Modules must be published to the forge before they can be... Duplicate 05/16/2012
Blocked by Puppet - Refactor #15841: Consider bundling minitar (or equivalent) for use by pupp... Rejected 08/06/2012

History

#1 Updated by Ken Barber almost 2 years ago

  • Category set to module tool

#2 Updated by Ken Barber over 1 year ago

  • Description updated (diff)

#3 Updated by Josh Cooper over 1 year ago

Ken/Pieter, could you update the target version and assignee if you know if/when this issue will be fixed?

#4 Updated by Ken Barber over 1 year ago

I’m adding the dependency here on the minitar work, its not a hard dependency as such – but this task would be achieved better with minitar available.

#5 Updated by Nigel Kersten over 1 year ago

  • Project changed from Puppet to Puppet Forge
  • Category deleted (module tool)
  • Assignee set to Ryan Coleman
  • Support Urls deleted (https://support.puppetlabs.com/tickets/1142)

#6 Updated by Ryan Coleman over 1 year ago

  • Category set to pmt
  • Assignee deleted (Ryan Coleman)
  • Target version set to PMT v3
  • Keywords set to local-install, tarball, install

This one is absolutely going into our upcoming work on PMT.

#7 Updated by Ryan Coleman about 1 year ago

  • Branch set to https://github.com/puppetlabs/puppet/pull/1508

Michal has a pull in for this.

#8 Updated by Benjamin Priestman about 1 year ago

Auto reply spam deleted by ryc.

#9 Updated by Josh Cooper about 1 year ago

Can we mark this ticket as In Topic Branch? Or is there more work needing to be done?

#10 Updated by Josh Cooper about 1 year ago

  • Assignee set to Michal Ruzicka

#11 Updated by Michal Ruzicka about 1 year ago

  • Status changed from Accepted to In Topic Branch Pending Review

The pull request is here: https://github.com/puppetlabs/puppet/pull/1508

Note that unfortunately the pull request has ended up containing also embedding of minitar into puppet: #15841

#12 Updated by Charlie Sharpsteen about 1 year ago

  • Keywords changed from local-install, tarball, install to local-install, tarball, install customer

#14 Updated by Josh Cooper about 1 year ago

  • Project changed from Puppet Forge to Puppet
  • Category deleted (pmt)
  • Target version changed from PMT v3 to 3.2.0
  • Keywords changed from local-install, tarball, install customer to local-install, tarball, install, customer, pmtv3,

#15 Updated by eric sorenson about 1 year ago

  • Target version deleted (3.2.0)

I’m untargeting this from 3.2.0 per discussions with Ryan and puppet devs yesterday.

#16 Updated by Andrew Parker 10 months ago

  • Status changed from In Topic Branch Pending Review to Code Insufficient

#17 Updated by John Julien 6 months ago

  • Support Urls deleted (https://support.puppetlabs.com/tickets/1142)

eric sorenson wrote:

I’m untargeting this from 3.2.0 per discussions with Ryan and puppet devs yesterday.

Hey Eric,I know it was a while ago, but can you elaborate on the discussion you had with Ryan?

Are there future plans that obsolete this or is it just low priority?

Thanks

#18 Updated by Anonymous 4 months ago

Redmine Issue #13542 has been migrated to JIRA:

https://tickets.puppetlabs.com/browse/PUP-1130

Also available in: Atom PDF