Issue #14962 has been reported by Michael Stahnke.
----------------------------------------
Bug #14962: Puppet module tool doesn't work with modulepath is relative (or at
least .)
https://projects.puppetlabs.com/issues/14962
Author: Michael Stahnke
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 2.7.14
Keywords:
Branch:
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.