Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maint/2.7.x/no private forges #765

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/puppet/face/module/install.rb
Expand Up @@ -2,10 +2,9 @@


Puppet::Face.define(:module, '1.0.0') do Puppet::Face.define(:module, '1.0.0') do
action(:install) do action(:install) do
summary "Install a module from a repository or release archive." summary "Install a module from the Puppet Forge or a release archive."
description <<-EOT description <<-EOT
Installs a module from the Puppet Forge, from a release archive file Installs a module from the Puppet Forge or from a release archive file.
on-disk, or from a private Forge-like repository.


The specified module will be installed into the directory The specified module will be installed into the directory
specified with the `--target-dir` option, which defaults to specified with the `--target-dir` option, which defaults to
Expand Down
6 changes: 3 additions & 3 deletions lib/puppet/face/module/search.rb
Expand Up @@ -2,16 +2,16 @@


Puppet::Face.define(:module, '1.0.0') do Puppet::Face.define(:module, '1.0.0') do
action(:search) do action(:search) do
summary "Search a repository for a module." summary "Search the Puppet Forge for a module."
description <<-EOT description <<-EOT
Searches a repository for modules whose names, descriptions, or keywords Searches the Puppet Forge for modules whose names, descriptions, or keywords
match the provided search term. match the provided search term.
EOT EOT


returns "Array of module metadata hashes" returns "Array of module metadata hashes"


examples <<-EOT examples <<-EOT
Search the default repository for a module: Search the Puppet Forge for a module:


$ puppet module search puppetlabs $ puppet module search puppetlabs
NAME DESCRIPTION AUTHOR KEYWORDS NAME DESCRIPTION AUTHOR KEYWORDS
Expand Down