PUPPET-PLUGIN(8)

πŸ’– PUPPET-PLUGIN(8) πŸ’–

okay bestie, listen UP, this is puppet-plugin, from the Puppet manual, and it's literally your little backstage pass to the Puppet plugin system. no cap. πŸŽ€


✨ NAME ✨

puppet-plugin β€” the way you Interact with the Puppet plugin system. that's it, that's the whole job. 🫢


🌸 SYNOPSIS 🌸

puppet plugin action

πŸ¦‹ DESCRIPTION πŸ¦‹

so this subcommand gives you network access to the puppet masterΒ΄s store of plugins. like, you're walking into the plugin vault. πŸ’…

and here's the tea: the puppet master serves up Ruby code that it collected from the lib directories of its modules. those plugins can then be used on agent nodes to extend Facter and implement custom types and providers. iconic behaviour honestly.

normally? plugins get downloaded by puppet agent during the course of a run. that's the usual vibe. ✨


πŸ’… OPTIONS πŸ’…

okay so first, a lil heads up bestie: 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. like, server and run_mode are valid settings, so you can absolutely hit it with --server <servername>, or --run_mode <runmode> as an argument. slay. πŸ‘‘

for the full list of acceptable parameters, go peek at the configuration file documentation at https://puppet.com/docs/puppet/latest/configuration.html. and if you want a commented list of all the configuration options, you can generate one by running puppet with --genconfig. cute, right?

  • --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. it's giving ✨options✨.
  • --verbose β€” whether to log verbosely. do you want the whole story? yes you do.
  • --debug β€” whether to log debug information. maximum detail mode, no secrets kept from you. πŸ›

πŸ”₯ ACTIONS πŸ”₯

download β€” Download plugins from the puppet master. β¬‡οΈπŸ’–

SYNOPSIS

puppet plugin download

DESCRIPTION

Downloads plugins from the configured puppet master. any plugins you download this way will be used in all subsequent Puppet activity. and yes, this action modifies files on disk β€” so like, it's not just reading, it's doing. 😭

RETURNS

a list of the files downloaded, or a confirmation that no files were downloaded. and when used from the Ruby API, this action returns an array of the files downloaded, which will be empty if none were retrieved. periodt. πŸ’€


🌈 EXAMPLES 🌈

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.


and that's the whole page, bestie!! πŸŽ€βœ¨ written by the lovely people at Puppet, Inc., dated September 2024 β€” go download some plugins and be your main character self. mwah. πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from