Issue #23414 has been reported by Adrián López.

----------------------------------------
Bug #23414: puppet module install - strange behaviour using target-dir
https://projects.puppetlabs.com/issues/23414

* Author: Adrián López
* Status: Unreviewed
* Priority: Low
* Assignee: 
* Category: module tool
* Target version: 
* Affected Puppet version: 3.3.2
* Keywords: puppet module install --target-dir
* Branch: 
----------------------------------------
Using puppet as normal user, if I do
puppet module install puppetlabs/apt
It gets installed in ~/.puppet/modules/apt

But if try to download that module to a different dir
~/test/modules$ puppet module install puppetlabs/apt --target-dir .
Error: Could not install module 'puppetlabs-apt' (best)
  Module 'puppetlabs-apt' (v1.4.0) is already installed
    Use `puppet module upgrade` to install a different version
    Use `puppet module install --force` to re-install only this module

I expect that I could install the module several times if the target dir is 
different.

In fact, if the order is reversed:
~/test/modules$ puppet module install pdxcat/collectd --target-dir .
And then
~/test/modules$ puppet module install pdxcat/collectd
It works correctly



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to