PUPPET-MAN(8)
β¨ NAME β¨
puppet-man β bestie, this is the one that shows you Puppet manual pages π
It's section 8 of the Puppet manual, so it's a lil sysadmin-flavored, iykyk.
πΈ SYNOPSIS πΈ
puppet man action
π¦ DESCRIPTION π¦
Okay so real talk: for actual info about Puppet subcommands, you wanna use the command puppet help subcommand or the system manpage system man puppet-subcommand. Those are the current move, periodt.
The man subcommand? Deprecated. π It displays manual pages for all Puppet subcommands, so it still works, but it's giving legacy. Use it if you must.
Now here's the cute part β¨ If the ronn gem (it lives at https://github.com/rtomayko/ronn/) is installed on your system, then puppet man will show you fully-formatted, gorgeous man pages. No ronn? No problem β puppet man will still show you the raw (but human-readable) source text in a pager. Not the glow-up, but it's there π«Ά
π OPTIONS π
Heads up bestie: any setting that's valid in the configuration file is also a valid long argument. It may or may not be relevant to the action you're doing, but it's valid. For example, server and run_mode are valid settings, so you can pass --server <servername> or --run_mode <runmode> as an argument. Slay.
The full list of acceptable parameters lives in the config file docs at https://puppet.com/docs/puppet/latest/configuration.html. You can also get a commented list of all the configuration options by running puppet with --genconfig. Free cheat sheet, no cap.
--render-as FORMATβ the format you want your output rendered in π The most common formats arejson,s(string),yaml, andconsole, but other options such asdotare sometimes available too.--verboseβ whether to log verbosely.--debugβ whether to log debug information.
π ACTIONS π
man β Display the manual page for a Puppet subcommand. π
SYNOPSIS
puppet man subcommand
DESCRIPTION
Display the manual page for a Puppet subcommand. That's it, that's the job π
RETURNS
The man data, in Markdown format, suitable for consumption by Ronn.
RENDERING ISSUES: if you wanna skip the fancy formatting and just get the raw Markdown text out β say, for use in a pipeline β call this action with --render-as s. Iconic little trick for scripting bestie π§
π EXAMPLES π
man
View the installed manual page for the subcommand config:
$ man puppet-config
(Deprecated) View the manual page for the subcommand config:
$ puppet man config
π NOTES π
The pager used for display will be the first found of $MANPAGER, $PAGER, less, most, or more. It goes down the list in that order and grabs the first one that shows up β main character energy for whichever wins π«Ά
β COPYRIGHT AND LICENSE β
Copyright 2011 by Puppet Inc. Apache 2 license; see COPYING.
And that's a wrap, bestie π this was PUPPET-MAN(8) from the Puppet manual, brought to you by Puppet, Inc., dated May 2022. go read a manual, you deserve it β¨
π¦ where this page comes from
- ubuntu jammy: puppet 5.5.22-4ubuntu0.2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms