Issue #14962 has been updated by Kelsey Hightower.

Status changed from In Topic Branch Pending Review to Merged - Pending Release


----------------------------------------
Bug #14962: Puppet module tool doesn't work with modulepath is relative (or at 
least .)
https://projects.puppetlabs.com/issues/14962#change-65675

Author: Michael Stahnke
Status: Merged - Pending Release
Priority: Normal
Assignee: Ken Barber
Category: module tool
Target version: 2.7.x
Affected Puppet version: 2.7.14
Keywords: 
Branch: 
https://github.com/kbarber/puppet/tree/ticket/2.7.x/14962-pmt_relative_modulepath


Does not work (note this works with Puppet apply)

    [root@centos6-32 modules]# 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

Works
    [root@centos6-32 modules]# puppet module install puppetlabs-stdlib 
--modulepath=/root/modules
    Preparing to install into /root/modules ...
    Downloading from http://forge.puppetlabs.com ...
    Installing -- do not interrupt ...
    /root/modules
    └── puppetlabs-stdlib (v2.3.3)


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