Issue #14428 has been updated by Pieter van de Bruggen.

`install`, `list`, `uninstall`, and `upgrade` all respect the `--modulepath` 
option for specifying module locations (and this *should* be documented), and 
this is the preferred way to specify a standalone installation directory.

`--target-dir` (`-i`) is meant for when you want to install into a specific 
directory, but resolve dependencies against the modulepath.
----------------------------------------
Bug #14428: inconsistent options for module install / list
https://projects.puppetlabs.com/issues/14428#change-62573

Author: Anand Kumria
Status: Investigating
Priority: Low
Assignee: Pieter van de Bruggen
Category: 
Target version: 
Affected Puppet version: 2.7.14
Keywords: 
Branch: 


Whilst looking at the work-around mentiond in #14424, I became aware of an 
inconsistency with puppet module.

% puppet module install -i `pwd`/mtest akumria-nullmailer 
Preparing to install into /home/anand/Work/linuxpeak/puppet27/mtest ...
Downloading from http://forge.puppetlabs.com ...
Installing -- do not interrupt ...
/home/anand/Work/linuxpeak/puppet27/mtest
└─┬ akumria-nullmailer (v1.0.1)
  └── puppetlabs-stdlib (v2.3.2)

% puppet module list --tree --modulepath mtest           
/home/anand/Work/linuxpeak/puppet27/mtest
└─┬ akumria-nullmailer (v1.0.1)
  └── puppetlabs-stdlib (v2.3.2)

It would be nice if the same option to specify the location was used for all 
commands (note that the upgrade command does not even seem to take an option to 
specify the location of the modules).


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