PUPPET-MASTER(8)
π PUPPET-MASTER π
okay so bestie, welcome to puppet-master, section 8 of the Puppet manual π this is the puppet master daemon and she is THE main character, fr fr π
β¨ NAME β¨
puppet-master β the puppet master daemon. that's her. that's the whole vibe. π
πΈ SYNOPSIS πΈ
The central puppet server. Functions as a certificate authority by default. no cap, she's the boss of certs right out of the box π₯
π¦ USAGE π¦
here's how you summon her:
puppet master [-D|--daemonize|--no-daemonize] [-d|--debug] [-h|--help]
[-l|--logdest syslog|FILE|console] [-v|--verbose] [-V|--version]
[--compile NODE-NAME]
π DESCRIPTION π
This command starts an instance of puppet master, running as a daemon and using Ruby's built-in Webrick webserver. yep, Webrick, she's built right into Ruby π
Puppet master can also be managed by other application servers; when this is the case, this executable is not used. so like, if another app server is running the show, you don't touch this one. she stays unbothered π
π OPTIONS π
quick heads up before we dive in, and this part is important bestie: any Puppet setting that's valid in the configuration file is also a valid long argument. so for example, 'server' is a valid setting, which means you can pass '--server servername' as an argument. iconic, right? π
and boolean settings? they translate into '--setting' and '--no-setting' pairs. two for one deal β¨
See the configuration file documentation athttps://puppet.com/docs/puppet/latest/configuration.htmlfor the full list of acceptable settings. A commented list of all settings can also be generated by runningpuppet masterwith'--genconfig'. go peek if you're curious, she's not gatekeeping π
--daemonizeβ Send the process into the background. This is the default. (This is a Puppet setting, and can go inpuppet.conf. Note the special'no-'prefix for boolean settings on the command line.) she's an independent woman, she goes in the background by default π«Ά--no-daemonizeβ Do not send the process into the background. (This is a Puppet setting, and can go inpuppet.conf. Note the special'no-'prefix for boolean settings on the command line.) same deal, just the'no-'flip, she stays right here in the foreground with you π₯Ί--debugβ Enable full debugging. everything on, all the tea, no filter β--helpβ Print this help message. the classic "help me pls" move π--logdestβ Where to send log messages. Choose between'syslog'(the POSIX syslog service),'console', or the path to a log file. If debugging or verbosity is enabled, this defaults to'console'. Otherwise, it defaults to'syslog'. pick your destination bestie, she'll drop the logs wherever you tell her π
A path ending with '.json' will receive structured output in JSON format. The log file will not have an ending ']' automatically written to it due to the appending nature of logging. It must be appended manually to make the content valid JSON. okay so this one's a little sneaky β the JSON is valid-ish but that closing bracket? not written for you. you gotta append it yourself or it's not valid JSON, periodt β οΈ
--masterportβ The port on which to listen for traffic. The default port is8140. (This is a Puppet setting, and can go inpuppet.conf.)8140is her home address, she's not moving π--verboseβ Enable verbosity. she will simply say more, and honestly? good for her π¬--versionβ Print the puppet version number and exit. quick lil flex then she dips π--compileβ Compile a catalogue and output it in JSON from the puppet master. Uses facts contained in the$vardir/yaml/directory to compile the catalog. she pulls those facts straight out of$vardir/yaml/and hands you a whole catalogue in JSON, slay π¦β¨
β EXAMPLE β
puppet master
that's it. that's the whole example. simple, clean, she ate π
π DIAGNOSTICS π
When running as a standalone daemon, puppet master accepts the following signals. she speaks signal, fluently π§
SIGHUPβ Restart the puppet master server. the classic "on my way back, refreshed" moment β¨SIGINTandSIGTERMβ Shut down the puppet master server. she's logging off, don't take it personally πSIGUSR2β Close file descriptors for log files and reopen them. Used withlogrotate. this is the logrotate bestie right here, she closes the fds and reopens them like nothing happened π
π AUTHOR π
Luke Kanies
π COPYRIGHT π
Copyright (c) 2012 Puppet Inc., LLC Licensed under the Apache 2.0 License
and that's the whole page bestie!! π this one came from Puppet, Inc. and it's dated <b>May 2022</b> β she's been holding it down since then, no cap. go run her, she's ready π«Άβ¨
π¦ 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