HomePhorge

(#7656) Add install action to module_tool face
41d10344f952Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7656) Add install action to module_tool face

Before this patch, the module_tool face did not have the ability to
install a module from a repository or release archive, and there was no
test coverage for the module_tool install action.

This patch adds support for installing a module from a repository or
release archive to the module_tool face.

Example usage:

  1. Install a module from the default repository: $ puppet module_tool install username-modulename
  2. Install a specific module version from a repository: $ puppet module_tool install username-modulename --version=0.0.1
  3. Install a module into a specific directory: $ puppet module_tool install username-modulename --install-dir=path
  4. Install a module from a release archive: $ puppet module_tool install username-modulename-0.0.1.tar.gz

This patch includes unit tests for the module_tool install action.

Details

Provenance
Kelsey Hightower <kelsey@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU6d2fc99f0f8f: (#7656) Add generate action to module_tool face
Branches
Unknown
Tags
Unknown

Event Timeline

Kelsey Hightower <kelsey@puppetlabs.com> committed rPU41d10344f952: (#7656) Add install action to module_tool face (authored by Kelsey Hightower <kelsey@puppetlabs.com>).Dec 5 2011, 6:06 PM