PUPPET-PLUGIN(8) | Puppet manual | PUPPET-PLUGIN(8) |
puppet-plugin - Interact with the Puppet plugin system.
puppet plugin action
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.
Note that any setting that's valid in the configuration file is also a valid long argument, although it may or may not be relevant to the present action. For example, server and run_mode are valid settings, so you can specify --server <servername>, or --run_mode <runmode> as an argument.
See the configuration file documentation at https://puppet.com/docs/puppet/latest/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.
download
Retrieve plugins from the puppet master:
$ puppet plugin download
Retrieve plugins from the puppet master (API example):
$ Puppet::Face[:plugin, '0.0.1'].download
Copyright 2011 by Puppet Inc. Apache 2 license; see COPYING
March 2021 | Puppet, Inc. |