Issue #14939 has been updated by Ken Barber.

Assignee set to Ken Barber

So this succeeds:

    # puppet module install puppetlabs-stdlib -i .          
    Preparing to install into /Users/ken/tmp/targetdir ...
    Downloading from http://forge.puppetlabs.com ...
    Installing -- do not interrupt ...
    /Users/ken/tmp/targetdir
    └── puppetlabs-stdlib (v2.3.3)

This fails:

    # puppet module install puppetlabs-stdlib --modulepath=.
    Preparing to install into . ...
    Downloading from http://forge.puppetlabs.com ...
    Error: undefined method `each' for nil:NilClass
    Error: Try 'puppet help module install' for usage

Does this sound correct RI?
----------------------------------------
Bug #14939: module tool fails with target dir "."
https://projects.puppetlabs.com/issues/14939#change-65245

Author: R.I. Pienaar
Status: Accepted
Priority: High
Assignee: Ken Barber
Category: module tool
Target version: 
Affected Puppet version: 2.7.14
Keywords: PMT module tool
Branch: 


Module tool fails with a target dir of ".":

<pre>
% puppet module install puppetlabs-stdlib -i . 
Downloading from http://forge.puppetlabs.com ...
Error: undefined method `each' for nil:NilClass
Error: Try 'puppet help module install' for usage
</pre>

Compared to the following which works fine:

<pre>
% puppet module install puppetlabs-stdlib -i `pwd` 
</pre>



-- 
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.

Reply via email to