Issue #15100 has been updated by Ken Barber. Category set to module tool
---------------------------------------- Bug #15100: Puppet Module subcommand doesn't download locally unless --force is specified. https://projects.puppetlabs.com/issues/15100#change-66419 Author: Celia Cottle Status: Unreviewed Priority: Normal Assignee: Category: module tool Target version: Affected Puppet version: Keywords: Branch: ###Overview "puppet module install somemodule.tar.gz" still downloads the module from forge.puppetlabs.com. Using the --force option seems to install it from the local instance. This specifically is an issue where networking prohibits downloading from the forge directly. ###Example root@master:/var/tmp/puppet-module-tarballs# puppet module install /var/tmp/puppet-module-tarballs/puppetlabs-vcenter-0.1.0.tar.gz Preparing to install into /etc/puppetlabs/puppet/modules ... Downloading from http://forge.puppetlabs.com ... Installing -- do not interrupt ... /etc/puppetlabs/puppet/modules └── puppetlabs-vcenter (v0.1.0) When --force was added: root@master:/var/tmp/puppet-module-tarballs# puppet module install puppetlabs-vcenter-0.1.0.tar.gz --force Preparing to install into /etc/puppetlabs/puppet/modules ... Installing -- do not interrupt ... /etc/puppetlabs/puppet/modules └── puppetlabs-vcenter (v0.1.0) While I didn’t test this without networking to ensure that it wasn’t still grabbing it from the forge, the absence of the “Downloading from http://forge.puppetlabs.com …” line leads me to believe that it was local. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
