puppet-plugin(8) - Linux man page
Name
puppet-plugin - Interact with the Puppet plugin system.Synopsis
puppet plugin actionDescription
This subcommand provides network access to the puppet master's store of plugins.The puppet master serves Ruby code collected from the lib directories of its modules. These plugins can be used on agent nodes to extend Facter and implement custom types and providers. Plugins are normally downloaded by puppet agent during the course of a run.
Options
See the configuration file documentation at http://docs.puppetlabs.com/references/stable/configuration.html for the full list of acceptable parameters. A commented list of all configuration options can also be generated by running puppet with --genconfig.
- --mode MODE
- The run mode to use for the current action. Valid modes are user, agent, and master.
- --render-as FORMAT
- The format in which to render output. The most common formats are json, s (string), yaml, and console, but other options such as dot are sometimes available.
- --verbose
- Whether to log verbosely.
- --debug
- Whether to log debug information.
Actions
- download - Download plugins from the puppet master.
- SYNOPSIS
- puppet plugin download
- DESCRIPTION
- Downloads plugins from the configured puppet master. Any plugins downloaded in this way will be used in all subsequent Puppet activity. This action modifies files on disk.
- RETURNS
- A list of the files downloaded, or a confirmation that no files were downloaded. When used from the Ruby API, this action returns an array of the files downloaded, which will be empty if none were retrieved.
- DESCRIPTION
Examples
downloadRetrieve plugins from the puppet master:
$ puppet plugin download
Retrieve plugins from the puppet master (API example):
$ Puppet::Face[:plugin, '0.0.1'].download