Issue #11805 has been updated by Matt Robinson.

Assignee changed from Kelsey Hightower to Matt Robinson

Here's more details about interactions of the --force flag

`puppet module install`

The Story: "Install makes the module usable, without breaking the system."

<pre>
Module not installed
  Module has no dependencies
    => Module gets installed
  Module has dependencies
    Dependencies not installed
      => Module gets installed
      => All dependencies get installed
    Some dependencies installed (meeting requirements)
      => Module gets installed
      => Uninstalled dependencies get installed
    Some dependencies installed (not meeting requirements)
      Dependency requirements overlap
        => Module gets installed
        => Uninstalled dependencies get installed
        => Unmet requirements get upgraded
      Dependency requirements do not overlap
        => Installation fails
Module is installed in target directory
  No `--force` flag
    => Installation fails
  Provided `--force` flag
    => Installed as if not installed
Module is installed elsewhere in module path
  No `--force` flag
    => Installation fails
  Provided `--force` flag
    => Installed into the target directory as if not installed

Other Notes:

* Default version is `latest` / `best`.
* Default target directory is the first directory from the module path.
* Module paths can be changed by `--env` or `--modulepath`.
* Target directory can be changed by `--dir`.
* Specifying a target directory and an `--env` of `--modulepath` acts like

    modulepath="$dir:$modulepath

for dependency resolution.
</pre>
----------------------------------------
Feature #11805: Enhance Puppet Module Tool (PMT) install command
https://projects.puppetlabs.com/issues/11805#change-54571

Author: Kelsey Hightower
Status: Accepted
Priority: Normal
Assignee: Matt Robinson
Category: 
Target version: 2.7.x
Affected Puppet version: 
Keywords: 
Branch: 


The PMT install command should be enhanced to support installing modules and 
their dependencies. The install command should exhibit behavior as defined in 
the UX design doc located here: [UX Design 
Doc](https://github.com/puppetlabs/ux/tree/geordi/geordi)


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