.\" generated with Ronn-NG/v0.9.1 .\" http://github.com/apjanke/ronn-ng/tree/0.9.1 .TH "PUPPETCONF" "5" "March 2021" "Puppet, Inc." "Puppet manual" \fBThis page is autogenerated; any changes will get overwritten\fR .SH "Configuration settings" .IP "\[ci]" 4 Each of these settings can be specified in \fBpuppet\.conf\fR or on the command line\. .IP "\[ci]" 4 Puppet Enterprise (PE) and open source Puppet share the configuration settings that are documented here\. However, PE defaults for some settings differ from the open source Puppet defaults\. Some examples of settings that have different PE defaults include \fBdisable18n\fR, \fBenvironment_timeout\fR, \fBalways_retry_plugins\fR, and the Puppet Server JRuby \fBmax\-active\-instances\fR setting\. To verify PE configuration defaults, check the \fBpuppet\.conf\fR file after installation\. .IP "\[ci]" 4 When using boolean settings on the command line, use \fB\-\-setting\fR and \fB\-\-no\-setting\fR instead of \fB\-\-setting (true|false)\fR\. (Using \fB\-\-setting false\fR results in "Error: Could not parse application options: needless argument"\.) .IP "\[ci]" 4 Settings can be interpolated as \fB$variables\fR in other settings; \fB$environment\fR is special, in that puppet master will interpolate each agent node's environment instead of its own\. .IP "\[ci]" 4 Multiple values should be specified as comma\-separated lists; multiple directories should be separated with the system path separator (usually a colon)\. .IP "\[ci]" 4 Settings that represent time intervals should be specified in duration format: an integer immediately followed by one of the units 'y' (years of 365 days), 'd' (days), 'h' (hours), 'm' (minutes), or 's' (seconds)\. The unit cannot be combined with other units, and defaults to seconds when omitted\. Examples are '3600' which is equivalent to '1h' (one hour), and '1825d' which is equivalent to '5y' (5 years)\. .IP "\[ci]" 4 If you use the \fBsplay\fR setting, note that the period that it waits changes each time the Puppet agent is restarted\. .IP "\[ci]" 4 Settings that take a single file or directory can optionally set the owner, group, and mode for their value: \fBrundir = $vardir/run { owner = puppet, group = puppet, mode = 644 }\fR .IP "\[ci]" 4 The Puppet executables will ignore any setting that isn't relevant to their function\. .IP "" 0 .P See the configuration guide \fIhttps://puppet\.com/docs/puppet/latest/config_about_settings\.html\fR for more details\. .SS "agent_catalog_run_lockfile" A lock file to indicate that a puppet agent catalog run is currently in progress\. The file contains the pid of the process that holds the lock on the catalog run\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/agent_catalog_run\.lock .IP "" 0 .SS "agent_disabled_lockfile" A lock file to indicate that puppet agent runs have been administratively disabled\. File contains a JSON object with state information\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/agent_disabled\.lock .IP "" 0 .SS "allow_duplicate_certs" Whether to allow a new certificate request to overwrite an existing certificate\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "always_retry_plugins" Affects how we cache attempts to load Puppet resource types and features\. If true, then calls to \fBPuppet\.type\.?\fR \fBPuppet\.feature\.?\fR will always attempt to load the type or feature (which can be an expensive operation) unless it has already been loaded successfully\. This makes it possible for a single agent run to, e\.g\., install a package that provides the underlying capabilities for a type or feature, and then later load that type or feature during the same run (even if the type or feature had been tested earlier and had not been available)\. .P If this setting is set to false, then types and features will only be checked once, and if they are not available, the negative result is cached and returned for all subsequent attempts to load the type or feature\. This behavior is almost always appropriate for the server, and can result in a significant performance improvement for types and features that are checked frequently\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "app_management" This setting has no effect and will be removed in a future Puppet version\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "autoflush" Whether log files should always flush to disk\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "autosign" Whether (and how) to autosign certificate requests\. This setting is only relevant on a puppet master acting as a certificate authority (CA)\. .P Valid values are true (autosigns all certificate requests; not recommended), false (disables autosigning certificates), or the absolute path to a file\. .P The file specified in this setting may be either a \fBconfiguration file\fR or a \fBcustom policy executable\.\fR Puppet will automatically determine what it is: If the Puppet user (see the \fBuser\fR setting) can execute the file, it will be treated as a policy executable; otherwise, it will be treated as a config file\. .P If a custom policy executable is configured, the CA puppet master will run it every time it receives a CSR\. The executable will be passed the subject CN of the request \fIas a command line argument,\fR and the contents of the CSR in PEM format \fIon stdin\.\fR It should exit with a status of 0 if the cert should be autosigned and non\-zero if the cert should not be autosigned\. .P If a certificate request is not autosigned, it will persist for review\. An admin user can use the \fBpuppet cert sign\fR command to manually sign it, or can delete the request\. .P For info on autosign configuration files, see the guide to Puppet's config files \fIhttps://puppet\.com/docs/puppet/latest/config_about_settings\.html\fR\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/autosign\.conf .IP "" 0 .SS "basemodulepath" The search path for \fBglobal\fR modules\. Should be specified as a list of directories separated by the system path separator character\. (The POSIX path separator is ':', and the Windows path separator is ';'\.) .P These are the modules that will be used by \fIall\fR environments\. Note that the \fBmodules\fR directory of the active environment will have priority over any global directories\. For more info, see \fIhttps://puppet\.com/docs/puppet/latest/environments_about\.html\fR .IP "\[ci]" 4 \fIDefault\fR: $codedir/modules:/usr/share/puppet/modules .IP "" 0 .SS "bindaddress" The address a listening server should bind to\. .IP "\[ci]" 4 \fIDefault\fR: * .IP "" 0 .SS "binder_config" The binder configuration file\. Puppet reads this file on each request to configure the bindings system\. If set to nil (the default), a $confdir/binder_config\.yaml is optionally loaded\. If it does not exists, a default configuration is used\. If the setting :binding_config is specified, it must reference a valid and existing yaml file\. .TP \fIDefault\fR: .SS "bucketdir" Where FileBucket files are stored\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/bucket .IP "" 0 .SS "ca" Whether the master should function as a certificate authority\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "ca_name" The name to use the Certificate Authority certificate\. .IP "\[ci]" 4 \fIDefault\fR: Puppet CA: $certname .IP "" 0 .SS "ca_port" The port to use for the certificate authority\. .IP "\[ci]" 4 \fIDefault\fR: $masterport .IP "" 0 .SS "ca_server" The server to use for certificate authority requests\. It's a separate server because it cannot and does not need to horizontally scale\. .IP "\[ci]" 4 \fIDefault\fR: $server .IP "" 0 .SS "ca_ttl" The default TTL for new certificates\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: 5y .IP "" 0 .SS "cacert" The CA certificate\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/ca_crt\.pem .IP "" 0 .SS "cacrl" The certificate revocation list (CRL) for the CA\. Will be used if present but otherwise ignored\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/ca_crl\.pem .IP "" 0 .SS "cadir" The root directory for the certificate authority\. .IP "\[ci]" 4 \fIDefault\fR: $ssldir/ca .IP "" 0 .SS "cakey" The CA private key\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/ca_key\.pem .IP "" 0 .SS "capass" Where the CA stores the password for the private key\. This setting is deprecated and will be removed in Puppet 6\. .IP "\[ci]" 4 \fIDefault\fR: $caprivatedir/ca\.pass .IP "" 0 .SS "caprivatedir" Where the CA stores private certificate information\. This setting is deprecated and will be removed in Puppet 6\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/private .IP "" 0 .SS "capub" The CA public key\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/ca_pub\.pem .IP "" 0 .SS "catalog_cache_terminus" How to store cached catalogs\. Valid values are 'json', 'msgpack' and 'yaml'\. The agent application defaults to 'json'\. .TP \fIDefault\fR: .SS "catalog_terminus" Where to get node catalogs\. This is useful to change if, for instance, you'd like to pre\-compile catalogs and store them in memcached or some other easily\-accessed store\. .IP "\[ci]" 4 \fIDefault\fR: compiler .IP "" 0 .SS "cert_inventory" The inventory file\. This is a text file to which the CA writes a complete listing of all certificates\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/inventory\.txt .IP "" 0 .SS "certdir" The certificate directory\. .IP "\[ci]" 4 \fIDefault\fR: $ssldir/certs .IP "" 0 .SS "certificate_revocation" Whether certificate revocation checking should be enabled, and what level of checking should be performed\. .P When certificate_revocation is set to 'true' or 'chain', Puppet will download the CA CRL and will perform revocation checking against each certificate in the chain\. .P Puppet is unable to load multiple CRLs, so if certificate_revocation is set to 'chain' and Puppet attempts to verify a certificate signed by a root CA the behavior is equivalent to the 'leaf' setting, and if Puppet attempts to verify a certificate signed by an intermediate CA then verification will fail as Puppet will be unable to load the multiple CRLs required for full chain checking\. As such the 'chain' setting is limited in functionality and is meant as a stand in pending the implementation of full chain checking\. .P When certificate_revocation is set to 'leaf', Puppet will download the CA CRL and will verify the leaf certificate against that CRL\. CRLs will not be fetched or checked for the rest of the certificates in the chain\. If you are using an intermediate CA certificate and want to enable certificate revocation checking, this setting must be set to 'leaf'\. .P When certificate_revocation is set to 'false', Puppet will disable all certificate revocation checking and will not attempt to download the CRL\. .IP "\[ci]" 4 \fIDefault\fR: chain .IP "" 0 .SS "certname" The name to use when handling certificates\. When a node requests a certificate from the CA puppet master, it uses the value of the \fBcertname\fR setting as its requested Subject CN\. .P This is the name used when managing a node's permissions in auth\.conf \fIhttps://puppet\.com/docs/puppet/latest/config_file_auth\.html\fR\. In most cases, it is also used as the node's name when matching node definitions \fIhttps://puppet\.com/docs/puppet/latest/lang_node_definitions\.html\fR and requesting data from an ENC\. (This can be changed with the \fBnode_name_value\fR and \fBnode_name_fact\fR settings, although you should only do so if you have a compelling reason\.) .P A node's certname is available in Puppet manifests as \fB$trusted['certname']\fR\. (See Facts and Built\-In Variables \fIhttps://puppet\.com/docs/puppet/latest/lang_facts_and_builtin_vars\.html\fR for more details\.) .IP "\[ci]" 4 For best compatibility, you should limit the value of \fBcertname\fR to only use lowercase letters, numbers, periods, underscores, and dashes\. (That is, it should match \fB/A[a\-z0\-9\._\-]+Z/\fR\.) .IP "\[ci]" 4 The special value \fBca\fR is reserved, and can't be used as the certname for a normal node\. .IP "" 0 .P Defaults to the node's fully qualified domain name\. .IP "\[ci]" 4 \fIDefault\fR: the Host's fully qualified domain name, as determined by facter .IP "" 0 .SS "classfile" The file in which puppet agent stores a list of the classes associated with the retrieved configuration\. Can be loaded in the separate \fBpuppet\fR executable using the \fB\-\-loadclasses\fR option\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/classes\.txt .IP "" 0 .SS "client_datadir" The directory in which serialized data is stored on the client\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/client_data .IP "" 0 .SS "clientbucketdir" Where FileBucket files are stored locally\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/clientbucket .IP "" 0 .SS "clientyamldir" The directory in which client\-side YAML data is stored\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/client_yaml .IP "" 0 .SS "code" Code to parse directly\. This is essentially only used by \fBpuppet\fR, and should only be set if you're writing your own Puppet executable\. .SS "codedir" The main Puppet code directory\. The default for this setting is calculated based on the user\. If the process is running as root or the user that Puppet is supposed to run as, it defaults to a system directory, but if it's running as any other user, it defaults to being in the user's home directory\. .IP "\[ci]" 4 \fIDefault\fR: Unix/Linux: /etc/puppetlabs/code \-\- Windows: C:\eProgramData\ePuppetLabs\ecode \-\- Non\-root user: ~/\.puppetlabs/etc/code .IP "" 0 .SS "color" Whether to use colors when logging to the console\. Valid values are \fBansi\fR (equivalent to \fBtrue\fR), \fBhtml\fR, and \fBfalse\fR, which produces no color\. Defaults to false on Windows, as its console does not support ansi colors\. .IP "\[ci]" 4 \fIDefault\fR: ansi .IP "" 0 .SS "confdir" The main Puppet configuration directory\. The default for this setting is calculated based on the user\. If the process is running as root or the user that Puppet is supposed to run as, it defaults to a system directory, but if it's running as any other user, it defaults to being in the user's home directory\. .IP "\[ci]" 4 \fIDefault\fR: Unix/Linux: /etc/puppetlabs/puppet \-\- Windows: C:\eProgramData\ePuppetLabs\epuppet\eetc \-\- Non\-root user: ~/\.puppetlabs/etc/puppet .IP "" 0 .SS "config" The configuration file for the current puppet application\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/${config_file_name} .IP "" 0 .SS "config_file_name" The name of the puppet config file\. .IP "\[ci]" 4 \fIDefault\fR: puppet\.conf .IP "" 0 .SS "config_version" How to determine the configuration version\. By default, it will be the time that the configuration is parsed, but you can provide a shell script to override how the version is determined\. The output of this script will be added to every log message in the reports, allowing you to correlate changes on your hosts to the source version on the server\. .P Setting a global value for config_version in puppet\.conf is not allowed (but it can be overridden from the commandline)\. Please set a per\-environment value in environment\.conf instead\. For more info, see \fIhttps://puppet\.com/docs/puppet/latest/environments_about\.html\fR .SS "configprint" Prints the value of a specific configuration setting\. If the name of a setting is provided for this, then the value is printed and puppet exits\. Comma\-separate multiple values\. For a list of all values, specify 'all'\. This setting is deprecated, the 'puppet config' command replaces this functionality\. .SS "configtimeout" How long the client should wait for the configuration to be retrieved before considering it a failure\. This setting is deprecated and has been replaced by http_connect_timeout and http_read_timeout\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: 2m .IP "" 0 .SS "csr_attributes" An optional file containing custom attributes to add to certificate signing requests (CSRs)\. You should ensure that this file does not exist on your CA puppet master; if it does, unwanted certificate extensions may leak into certificates created with the \fBpuppet cert generate\fR command\. .P If present, this file must be a YAML hash containing a \fBcustom_attributes\fR key and/or an \fBextension_requests\fR key\. The value of each key must be a hash, where each key is a valid OID and each value is an object that can be cast to a string\. .P Custom attributes can be used by the CA when deciding whether to sign the certificate, but are then discarded\. Attribute OIDs can be any OID value except the standard CSR attributes (i\.e\. attributes described in RFC 2985 section 5\.4)\. This is useful for embedding a pre\-shared key for autosigning policy executables (see the \fBautosign\fR setting), often by using the \fB1\.2\.840\.113549\.1\.9\.7\fR ("challenge password") OID\. .P Extension requests will be permanently embedded in the final certificate\. Extension OIDs must be in the "ppRegCertExt" (\fB1\.3\.6\.1\.4\.1\.34380\.1\.1\fR), "ppPrivCertExt" (\fB1\.3\.6\.1\.4\.1\.34380\.1\.2\fR), or "ppAuthCertExt" (\fB1\.3\.6\.1\.4\.1\.34380\.1\.3\fR) OID arcs\. The ppRegCertExt arc is reserved for four of the most common pieces of data to embed: \fBpp_uuid\fR (\fB\.1\fR), \fBpp_instance_id\fR (\fB\.2\fR), \fBpp_image_name\fR (\fB\.3\fR), and \fBpp_preshared_key\fR (\fB\.4\fR) \-\- in the YAML file, these can be referred to by their short descriptive names instead of their full OID\. The ppPrivCertExt arc is unregulated, and can be used for site\-specific extensions\. The ppAuthCert arc is reserved for two pieces of data to embed: \fBpp_authorization\fR (\fB\.1\fR) and \fBpp_auth_role\fR (\fB\.13\fR)\. As with ppRegCertExt, in the YAML file, these can be referred to by their short descriptive name instead of their full OID\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/csr_attributes\.yaml .IP "" 0 .SS "csrdir" Where the CA stores certificate requests\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/requests .IP "" 0 .SS "daemonize" Whether to send the process into the background\. This defaults to true on POSIX systems, and to false on Windows (where Puppet currently cannot daemonize)\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "data_binding_terminus" This setting has been deprecated\. Use of any value other than 'hiera' should instead be configured in a version 5 hiera\.yaml\. Until this setting is removed, it controls which data binding terminus to use for global automatic data binding (across all environments)\. By default this value is 'hiera'\. A value of 'none' turns off the global binding\. .IP "\[ci]" 4 \fIDefault\fR: hiera .IP "" 0 .SS "default_file_terminus" The default source for files if no server is given in a uri, e\.g\. puppet:///file\. The default of \fBrest\fR causes the file to be retrieved using the \fBserver\fR setting\. When running \fBapply\fR the default is \fBfile_server\fR, causing requests to be filled locally\. .IP "\[ci]" 4 \fIDefault\fR: rest .IP "" 0 .SS "default_manifest" The default main manifest for directory environments\. Any environment that doesn't set the \fBmanifest\fR setting in its \fBenvironment\.conf\fR file will use this manifest\. .P This setting's value can be an absolute or relative path\. An absolute path will make all environments default to the same main manifest; a relative path will allow each environment to use its own manifest, and Puppet will resolve the path relative to each environment's main directory\. .P In either case, the path can point to a single file or to a directory of manifests to be evaluated in alphabetical order\. .IP "\[ci]" 4 \fIDefault\fR: \./manifests .IP "" 0 .SS "default_schedules" Boolean; whether to generate the default schedule resources\. Setting this to false is useful for keeping external report processors clean of skipped schedule resources\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "deviceconfig" Path to the device config file for puppet device\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/device\.conf .IP "" 0 .SS "devicedir" The root directory of devices' $vardir\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/devices .IP "" 0 .SS "diff" Which diff command to use when printing differences between files\. This setting has no default value on Windows, as standard \fBdiff\fR is not available, but Puppet can use many third\-party diff tools\. .IP "\[ci]" 4 \fIDefault\fR: diff .IP "" 0 .SS "diff_args" Which arguments to pass to the diff command when printing differences between files\. The command to use can be chosen with the \fBdiff\fR setting\. .IP "\[ci]" 4 \fIDefault\fR: \-u .IP "" 0 .SS "digest_algorithm" Which digest algorithm to use for file resources and the filebucket\. Valid values are md5, sha256, sha384, sha512, sha224\. Default is md5\. .IP "\[ci]" 4 \fIDefault\fR: md5 .IP "" 0 .SS "disable_i18n" If true, turns off all translations of Puppet and module log messages, which affects error, warning, and info log messages, as well as any translations in the report and CLI\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "disable_per_environment_manifest" Whether to disallow an environment\-specific main manifest\. When set to \fBtrue\fR, Puppet will use the manifest specified in the \fBdefault_manifest\fR setting for all environments\. If an environment specifies a different main manifest in its \fBenvironment\.conf\fR file, catalog requests for that environment will fail with an error\. .P This setting requires \fBdefault_manifest\fR to be set to an absolute path\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "disable_warnings" A comma\-separated list of warning types to suppress\. If large numbers of warnings are making Puppet's logs too large or difficult to use, you can temporarily silence them with this setting\. .P If you are preparing to upgrade Puppet to a new major version, you should re\-enable all warnings for a while\. .P Valid values for this setting are: .IP "\[ci]" 4 \fBdeprecations\fR \-\- disables deprecation warnings\. .IP "\[ci]" 4 \fBundefined_variables\fR \-\- disables warnings about non existing variables\. .IP "\[ci]" 4 \fBundefined_resources\fR \-\- disables warnings about non existing resources\. .IP "\[ci]" 4 \fIDefault\fR: [] .IP "" 0 .SS "dns_alt_names" A comma\-separated list of alternate DNS names for Puppet Server\. These are extra hostnames (in addition to its \fBcertname\fR) that the server is allowed to use when serving agents\. Puppet checks this setting when automatically requesting a certificate for Puppet agent or Puppet Server, and when manually generating a certificate with \fBpuppet cert generate\fR\. These can be either IP or DNS, and the type should be specified and followed with a colon\. Untyped inputs will default to DNS\. .P In order to handle agent requests at a given hostname (like "puppet\.example\.com"), Puppet Server needs a certificate that proves it's allowed to use that name; if a server shows a certificate that doesn't include its hostname, Puppet agents will refuse to trust it\. If you use a single hostname for Puppet traffic but load\-balance it to multiple Puppet Servers, each of those servers needs to include the official hostname in its list of extra names\. .P \fBNote:\fR The list of alternate names is locked in when the server's certificate is signed\. If you need to change the list later, you can't just change this setting; you also need to: .IP "\[ci]" 4 On the server: Stop Puppet Server\. .IP "\[ci]" 4 On the CA server: Revoke and clean the server's old certificate\. (\fBpuppet cert clean \fR) (Note \fBpuppet cert clean\fR is deprecated and will be replaced with \fBpuppetserver ca clean\fR in Puppet 6\.) .IP "\[ci]" 4 On the server: Delete the old certificate (and any old certificate signing requests) from the ssldir \fIhttps://puppet\.com/docs/puppet/latest/dirs_ssldir\.html\fR\. .IP "\[ci]" 4 On the server: Run \fBpuppet agent \-t \-\-ca_server \fR to request a new certificate .IP "\[ci]" 4 On the CA server: Sign the certificate request, explicitly allowing alternate names (\fBpuppet cert sign \-\-allow\-dns\-alt\-names \fR)\. (Note \fBpuppet cert sign\fR is deprecated and will be replaced with \fBpuppetserver ca sign\fR in Puppet 6\.) .IP "\[ci]" 4 On the server: Run \fBpuppet agent \-t \-\-ca_server \fR to retrieve the cert\. .IP "\[ci]" 4 On the server: Start Puppet Server again\. .IP "" 0 .P To see all the alternate names your servers are using, log into your CA server and run \fBpuppet cert list \-a\fR, then check the output for \fB(alt names: \|\.\|\.\|\.)\fR\. Most agent nodes should NOT have alternate names; the only certs that should have them are Puppet Server nodes that you want other agents to trust\. .SS "document_all" Whether to document all resources when using \fBpuppet doc\fR to generate manifest documentation\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "environment" The environment in which Puppet is running\. For clients, such as \fBpuppet agent\fR, this determines the environment itself, which Puppet uses to find modules and much more\. For servers, such as \fBpuppet master\fR, this provides the default environment for nodes that Puppet knows nothing about\. .P When defining an environment in the \fB[agent]\fR section, this refers to the environment that the agent requests from the master\. The environment doesn't have to exist on the local filesystem because the agent fetches it from the master\. This definition is used when running \fBpuppet agent\fR\. .P When defined in the \fB[user]\fR section, the environment refers to the path that Puppet uses to search for code and modules related to its execution\. This requires the environment to exist locally on the filesystem where puppet is being executed\. Puppet subcommands, including \fBpuppet module\fR and \fBpuppet apply\fR, use this definition\. .P Given that the context and effects vary depending on the config section \fIhttps://puppet\.com/docs/puppet/latest/config_file_main\.html#config\-sections\fR in which the \fBenvironment\fR setting is defined, do not set it globally\. .IP "\[ci]" 4 \fIDefault\fR: production .IP "" 0 .SS "environment_data_provider" The name of a registered environment data provider used when obtaining environment specific data\. The three built in and registered providers are 'none' (no data), 'function' (data obtained by calling the function 'environment::data()') and 'hiera' (data obtained using a data provider configured using a hiera\.yaml file in root of the environment)\. Other environment data providers may be registered in modules on the module path\. For such custom data providers see the respective module documentation\. This setting is deprecated\. .TP \fIDefault\fR: .SS "environment_timeout" How long the Puppet master should cache data it loads from an environment\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. A value of \fB0\fR will disable caching\. This setting can also be set to \fBunlimited\fR, which will cache environments until the master is restarted or told to refresh the cache\. .P You should change this setting once your Puppet deployment is doing non\-trivial work\. We chose the default value of \fB0\fR because it lets new users update their code without any extra steps, but it lowers the performance of your Puppet master\. .P We recommend setting this to \fBunlimited\fR and explicitly refreshing your Puppet master as part of your code deployment process\. .IP "\[ci]" 4 With Puppet Server, you should refresh environments by calling the \fBenvironment\-cache\fR API endpoint\. See the docs for the Puppet Server administrative API\. .IP "\[ci]" 4 With a Rack Puppet master, you should restart the web server or the application server\. Passenger lets you touch a \fBrestart\.txt\fR file to refresh an application without restarting Apache; see the Passenger docs for details\. .IP "" 0 .P We don't recommend using any value other than \fB0\fR or \fBunlimited\fR, since most Puppet masters use a pool of Ruby interpreters which all have their own cache timers\. When these timers drift out of sync, agents can be served inconsistent catalogs\. .IP "\[ci]" 4 \fIDefault\fR: 0 .IP "" 0 .SS "environmentpath" A search path for directory environments, as a list of directories separated by the system path separator character\. (The POSIX path separator is ':', and the Windows path separator is ';'\.) .P This setting must have a value set to enable \fBdirectory environments\.\fR The recommended value is \fB$codedir/environments\fR\. For more details, see \fIhttps://puppet\.com/docs/puppet/latest/environments_about\.html\fR .IP "\[ci]" 4 \fIDefault\fR: $codedir/environments .IP "" 0 .SS "evaltrace" Whether each resource should log when it is being evaluated\. This allows you to interactively see exactly what is being done\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "external_nodes" The external node classifier (ENC) script to use for node data\. Puppet combines this data with the main manifest to produce node catalogs\. .P To enable this setting, set the \fBnode_terminus\fR setting to \fBexec\fR\. .P This setting's value must be the path to an executable command that can produce node information\. The command must: .IP "\[ci]" 4 Take the name of a node as a command\-line argument\. .IP "\[ci]" 4 Return a YAML hash with up to three keys: .IP "\[ci]" 4 \fBclasses\fR \-\- A list of classes, as an array or hash\. .IP "\[ci]" 4 \fBenvironment\fR \-\- A string\. .IP "\[ci]" 4 \fBparameters\fR \-\- A list of top\-scope variables to set, as a hash\. .IP "" 0 .IP "\[ci]" 4 For unknown nodes, exit with a non\-zero exit code\. .IP "" 0 .P Generally, an ENC script makes requests to an external data source\. .P For more info, see the ENC documentation \fIhttps://puppet\.com/docs/puppet/latest/nodes_external\.html\fR\. .IP "\[ci]" 4 \fIDefault\fR: none .IP "" 0 .SS "factpath" Where Puppet should look for facts\. Multiple directories should be separated by the system path separator character\. (The POSIX path separator is ':', and the Windows path separator is ';'\.) .IP "\[ci]" 4 \fIDefault\fR: $vardir/lib/facter:$vardir/facts .IP "" 0 .SS "facts_terminus" The node facts terminus\. .IP "\[ci]" 4 \fIDefault\fR: facter .IP "" 0 .SS "fileserverconfig" Where the fileserver configuration is stored\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/fileserver\.conf .IP "" 0 .SS "filetimeout" The minimum time to wait between checking for updates in configuration files\. This timeout determines how quickly Puppet checks whether a file (such as manifests or templates) has changed on disk\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: 15s .IP "" 0 .SS "forge_authorization" The authorization key to connect to the Puppet Forge\. Leave blank for unauthorized or license based connections .TP \fIDefault\fR: .SS "freeze_main" Freezes the 'main' class, disallowing any code to be added to it\. This essentially means that you can't have any code outside of a node, class, or definition other than in the site manifest\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "future_features" Whether or not to enable all features currently being developed for future major releases of Puppet\. Should be used with caution, as in development features are experimental and can have unexpected effects\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "genconfig" When true, causes Puppet applications to print an example config file to stdout and exit\. The example will include descriptions of each setting, and the current (or default) value of each setting, incorporating any settings overridden on the CLI (with the exception of \fBgenconfig\fR itself)\. This setting only makes sense when specified on the command line as \fB\-\-genconfig\fR\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "genmanifest" Whether to just print a manifest to stdout and exit\. Only makes sense when specified on the command line as \fB\-\-genmanifest\fR\. Takes into account arguments specified on the CLI\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "graph" Whether to create \.dot graph files, which let you visualize the dependency and containment relationships in Puppet's catalog\. You can load and view these files with tools like OmniGraffle \fIhttp://www\.omnigroup\.com/applications/omnigraffle/\fR (OS X) or graphviz \fIhttp://www\.graphviz\.org/\fR (multi\-platform)\. .P Graph files are created when \fIapplying\fR a catalog, so this setting should be used on nodes running \fBpuppet agent\fR or \fBpuppet apply\fR\. .P The \fBgraphdir\fR setting determines where Puppet will save graphs\. Note that we don't save graphs for historical runs; Puppet will replace the previous \.dot files with new ones every time it applies a catalog\. .P See your graphing software's documentation for details on opening \.dot files\. If you're using GraphViz's \fBdot\fR command, you can do a quick PNG render with \fBdot \-Tpng \-o \fR\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "graphdir" Where to save \.dot\-format graphs (when the \fBgraph\fR setting is enabled)\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/graphs .IP "" 0 .SS "group" The group Puppet Server will run as\. Used to ensure the agent side processes (agent, apply, etc) create files and directories readable by Puppet Server when necessary\. .IP "\[ci]" 4 \fIDefault\fR: puppet .IP "" 0 .SS "hiera_config" The hiera configuration file\. Puppet only reads this file on startup, so you must restart the puppet master every time you edit it\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/hiera\.yaml\. However, if a file exists at $codedir/hiera\.yaml, Puppet uses that instead\. .IP "" 0 .SS "hostcert" Where individual hosts store and look for their certificates\. .IP "\[ci]" 4 \fIDefault\fR: $certdir/$certname\.pem .IP "" 0 .SS "hostcrl" Where the host's certificate revocation list can be found\. This is distinct from the certificate authority's CRL\. .IP "\[ci]" 4 \fIDefault\fR: $ssldir/crl\.pem .IP "" 0 .SS "hostcsr" Where individual hosts store and look for their certificate requests\. .IP "\[ci]" 4 \fIDefault\fR: $ssldir/csr_$certname\.pem .IP "" 0 .SS "hostprivkey" Where individual hosts store and look for their private key\. .IP "\[ci]" 4 \fIDefault\fR: $privatekeydir/$certname\.pem .IP "" 0 .SS "hostpubkey" Where individual hosts store and look for their public key\. .IP "\[ci]" 4 \fIDefault\fR: $publickeydir/$certname\.pem .IP "" 0 .SS "http_connect_timeout" The maximum amount of time to wait when establishing an HTTP connection\. The default value is 2 minutes\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: 2m .IP "" 0 .SS "http_debug" Whether to write HTTP request and responses to stderr\. This should never be used in a production environment\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "http_keepalive_timeout" The maximum amount of time a persistent HTTP connection can remain idle in the connection pool, before it is closed\. This timeout should be shorter than the keepalive timeout used on the HTTP server, e\.g\. Apache KeepAliveTimeout directive\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: 4s .IP "" 0 .SS "http_proxy_host" The HTTP proxy host to use for outgoing connections\. The proxy will be bypassed if the server's hostname matches the NO_PROXY environment variable or \fBno_proxy\fR setting\. Note: You may need to use a FQDN for the server hostname when using a proxy\. Environment variable http_proxy or HTTP_PROXY will override this value\. .IP "\[ci]" 4 \fIDefault\fR: none .IP "" 0 .SS "http_proxy_password" The password for the user of an authenticated HTTP proxy\. Requires the \fBhttp_proxy_user\fR setting\. .P Note that passwords must be valid when used as part of a URL\. If a password contains any characters with special meanings in URLs (as specified by RFC 3986 section 2\.2), they must be URL\-encoded\. (For example, \fB#\fR would become \fB%23\fR\.) .IP "\[ci]" 4 \fIDefault\fR: none .IP "" 0 .SS "http_proxy_port" The HTTP proxy port to use for outgoing connections .IP "\[ci]" 4 \fIDefault\fR: 3128 .IP "" 0 .SS "http_proxy_user" The user name for an authenticated HTTP proxy\. Requires the \fBhttp_proxy_host\fR setting\. .IP "\[ci]" 4 \fIDefault\fR: none .IP "" 0 .SS "http_read_timeout" The time to wait for one block to be read from an HTTP connection\. If nothing is read after the elapsed interval then the connection will be closed\. The default value is unlimited\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .TP \fIDefault\fR: .SS "http_user_agent" The HTTP User\-Agent string to send when making network requests\. .IP "\[ci]" 4 \fIDefault\fR: Puppet/5\.5\.22 Ruby/2\.7\.2\-p137 (x86_64\-linux\-gnu) .IP "" 0 .SS "ignore_plugin_errors" Whether the puppet run should ignore errors during pluginsync\. If the setting is false and there are errors during pluginsync, then the agent will abort the run and submit a report containing information about the failed run\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "ignorecache" This setting has no effect and will be removed in a future Puppet version\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "ignoremissingtypes" Skip searching for classes and definitions that were missing during a prior compilation\. The list of missing objects is maintained per\-environment and persists until the environment is cleared or the master is restarted\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "ignoreschedules" Boolean; whether puppet agent should ignore schedules\. This is useful for initial puppet agent runs\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "keylength" The bit length of keys\. .IP "\[ci]" 4 \fIDefault\fR: 4096 .IP "" 0 .SS "lastrunfile" Where puppet agent stores the last run report summary in yaml format\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/last_run_summary\.yaml .IP "" 0 .SS "lastrunreport" Where puppet agent stores the last run report in yaml format\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/last_run_report\.yaml .IP "" 0 .SS "ldapattrs" The LDAP attributes to include when querying LDAP for nodes\. All returned attributes are set as variables in the top\-level scope\. Multiple values should be comma\-separated\. The value 'all' returns all attributes\. .IP "\[ci]" 4 \fIDefault\fR: all .IP "" 0 .SS "ldapbase" The search base for LDAP searches\. It's impossible to provide a meaningful default here, although the LDAP libraries might have one already set\. Generally, it should be the 'ou=Hosts' branch under your main directory\. .SS "ldapclassattrs" The LDAP attributes to use to define Puppet classes\. Values should be comma\-separated\. .IP "\[ci]" 4 \fIDefault\fR: puppetclass .IP "" 0 .SS "ldapparentattr" The attribute to use to define the parent node\. .IP "\[ci]" 4 \fIDefault\fR: parentnode .IP "" 0 .SS "ldappassword" The password to use to connect to LDAP\. .SS "ldapport" The LDAP port\. Only used if \fBnode_terminus\fR is set to \fBldap\fR\. .IP "\[ci]" 4 \fIDefault\fR: 389 .IP "" 0 .SS "ldapserver" The LDAP server\. Only used if \fBnode_terminus\fR is set to \fBldap\fR\. .IP "\[ci]" 4 \fIDefault\fR: ldap .IP "" 0 .SS "ldapssl" Whether SSL should be used when searching for nodes\. Defaults to false because SSL usually requires certificates to be set up on the client side\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "ldapstackedattrs" The LDAP attributes that should be stacked to arrays by adding the values in all hierarchy elements of the tree\. Values should be comma\-separated\. .IP "\[ci]" 4 \fIDefault\fR: puppetvar .IP "" 0 .SS "ldapstring" The search string used to find an LDAP node\. .IP "\[ci]" 4 \fIDefault\fR: (&(objectclass=puppetClient)(cn=%s)) .IP "" 0 .SS "ldaptls" Whether TLS should be used when searching for nodes\. Defaults to false because TLS usually requires certificates to be set up on the client side\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "ldapuser" The user to use to connect to LDAP\. Must be specified as a full DN\. .SS "libdir" An extra search path for Puppet\. This is only useful for those files that Puppet will load on demand, and is only guaranteed to work for those cases\. In fact, the autoload mechanism is responsible for making sure this directory is in Ruby's search path .IP "\[ci]" 4 \fIDefault\fR: $vardir/lib .IP "" 0 .SS "localcacert" Where each client stores the CA certificate\. .IP "\[ci]" 4 \fIDefault\fR: $certdir/ca\.pem .IP "" 0 .SS "localedest" Where Puppet should store translation files that it pulls down from the central server\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/locales .IP "" 0 .SS "localesource" From where to retrieve translation files\. The standard Puppet \fBfile\fR type is used for retrieval, so anything that is a valid file source can be used here\. .IP "\[ci]" 4 \fIDefault\fR: puppet:///locales .IP "" 0 .SS "log_level" Default logging level for messages from Puppet\. Allowed values are: .IP "\[ci]" 4 debug .IP "\[ci]" 4 info .IP "\[ci]" 4 notice .IP "\[ci]" 4 warning .IP "\[ci]" 4 err .IP "\[ci]" 4 alert .IP "\[ci]" 4 emerg .IP "\[ci]" 4 crit .IP "\[ci]" 4 \fIDefault\fR: notice .IP "" 0 .SS "logdest" Where to send log messages\. Choose between 'syslog' (the POSIX syslog service), 'eventlog' (the Windows Event Log), 'console', or the path to a log file\. .TP \fIDefault\fR: .SS "logdir" The directory in which to store log files .IP "\[ci]" 4 \fIDefault\fR: Unix/Linux: /var/log/puppetlabs/puppet \-\- Windows: C:\eProgramData\ePuppetLabs\epuppet\evar\elog \-\- Non\-root user: ~/\.puppetlabs/var/log .IP "" 0 .SS "manage_internal_file_permissions" Whether Puppet should manage the owner, group, and mode of files it uses internally .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "manifest" The entry\-point manifest for puppet master\. This can be one file or a directory of manifests to be evaluated in alphabetical order\. Puppet manages this path as a directory if one exists or if the path ends with a / or \. .P Setting a global value for \fBmanifest\fR in puppet\.conf is not allowed (but it can be overridden from the commandline)\. Please use directory environments instead\. If you need to use something other than the environment's \fBmanifests\fR directory as the main manifest, you can set \fBmanifest\fR in environment\.conf\. For more info, see \fIhttps://puppet\.com/docs/puppet/latest/environments_about\.html\fR .TP \fIDefault\fR: .SS "masterhttplog" Where the puppet master web server saves its access log\. This is only used when running a WEBrick puppet master\. When puppet master is running under a Rack server like Passenger, that web server will have its own logging behavior\. .IP "\[ci]" 4 \fIDefault\fR: $logdir/masterhttp\.log .IP "" 0 .SS "masterport" The default port puppet subcommands use to communicate with Puppet Server\. (eg \fBpuppet facts upload\fR, \fBpuppet agent\fR)\. May be overridden by more specific settings (see \fBca_port\fR, \fBreport_port\fR)\. .IP "\[ci]" 4 \fIDefault\fR: 8140 .IP "" 0 .SS "max_deprecations" Sets the max number of logged/displayed parser validation deprecation warnings in case multiple deprecation warnings have been detected\. A value of 0 blocks the logging of deprecation warnings\. The count is per manifest\. .IP "\[ci]" 4 \fIDefault\fR: 10 .IP "" 0 .SS "max_errors" Sets the max number of logged/displayed parser validation errors in case multiple errors have been detected\. A value of 0 is the same as a value of 1; a minimum of one error is always raised\. The count is per manifest\. .IP "\[ci]" 4 \fIDefault\fR: 10 .IP "" 0 .SS "max_warnings" Sets the max number of logged/displayed parser validation warnings in case multiple warnings have been detected\. A value of 0 blocks logging of warnings\. The count is per manifest\. .IP "\[ci]" 4 \fIDefault\fR: 10 .IP "" 0 .SS "maximum_uid" The maximum allowed UID\. Some platforms use negative UIDs but then ship with tools that do not know how to handle signed ints, so the UIDs show up as huge numbers that can then not be fed back into the system\. This is a hackish way to fail in a slightly more useful way when that happens\. .IP "\[ci]" 4 \fIDefault\fR: 4294967290 .IP "" 0 .SS "mkusers" Whether to create the necessary user and group that puppet agent will run as\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "module_groups" Extra module groups to request from the Puppet Forge\. This is an internal setting, and users should never change it\. .TP \fIDefault\fR: .SS "module_repository" The module repository .IP "\[ci]" 4 \fIDefault\fR: https://forgeapi\.puppet\.com .IP "" 0 .SS "module_skeleton_dir" The directory which the skeleton for module tool generate is stored\. .IP "\[ci]" 4 \fIDefault\fR: $module_working_dir/skeleton .IP "" 0 .SS "module_working_dir" The directory into which module tool data is stored .IP "\[ci]" 4 \fIDefault\fR: $vardir/puppet\-module .IP "" 0 .SS "modulepath" The search path for modules, as a list of directories separated by the system path separator character\. (The POSIX path separator is ':', and the Windows path separator is ';'\.) .P Setting a global value for \fBmodulepath\fR in puppet\.conf is not allowed (but it can be overridden from the commandline)\. Please use directory environments instead\. If you need to use something other than the default modulepath of \fB:$basemodulepath\fR, you can set \fBmodulepath\fR in environment\.conf\. For more info, see \fIhttps://puppet\.com/docs/puppet/latest/environments_about\.html\fR .SS "name" The name of the application, if we are running as one\. The default is essentially $0 without the path or \fB\.rb\fR\. .TP \fIDefault\fR: .SS "no_proxy" List of host or domain names that should not go through \fBhttp_proxy_host\fR\. Environment variable no_proxy or NO_PROXY will override this value\. Names can be specified as an FQDN \fBhost\.example\.com\fR, wildcard \fB*\.example\.com\fR, dotted domain \fB\.example\.com\fR, or suffix \fBexample\.com\fR\. .IP "\[ci]" 4 \fIDefault\fR: localhost, 127\.0\.0\.1 .IP "" 0 .SS "node_cache_terminus" How to store cached nodes\. Valid values are (none), 'json', 'msgpack', 'yaml' or write only yaml ('write_only_yaml')\. .TP \fIDefault\fR: .SS "node_name" How the puppet master determines the client's identity and sets the 'hostname', 'fqdn' and 'domain' facts for use in the manifest, in particular for determining which 'node' statement applies to the client\. Possible values are 'cert' (use the subject's CN in the client's certificate) and 'facter' (use the hostname that the client reported in its facts)\. .P This setting is deprecated, please use explicit fact matching for classification\. .IP "\[ci]" 4 \fIDefault\fR: cert .IP "" 0 .SS "node_name_fact" The fact name used to determine the node name used for all requests the agent makes to the master\. WARNING: This setting is mutually exclusive with node_name_value\. Changing this setting also requires changes to the default auth\.conf configuration on the Puppet Master\. Please see http://links\.puppet\.com/node_name_fact for more information\. .SS "node_name_value" The explicit value used for the node name for all requests the agent makes to the master\. WARNING: This setting is mutually exclusive with node_name_fact\. Changing this setting also requires changes to the default auth\.conf configuration on the Puppet Master\. Please see http://links\.puppet\.com/node_name_value for more information\. .IP "\[ci]" 4 \fIDefault\fR: $certname .IP "" 0 .SS "node_terminus" Which node data plugin to use when compiling node catalogs\. .P When Puppet compiles a catalog, it combines two primary sources of info: the main manifest, and a node data plugin (often called a "node terminus," for historical reasons)\. Node data plugins provide three things for a given node name: .IP "1." 4 A list of classes to add to that node's catalog (and, optionally, values for their parameters)\. .IP "2." 4 Which Puppet environment the node should use\. .IP "3." 4 A list of additional top\-scope variables to set\. .IP "" 0 .P The three main node data plugins are: .IP "\[ci]" 4 \fBplain\fR \-\- Returns no data, so that the main manifest controls all node configuration\. .IP "\[ci]" 4 \fBexec\fR \-\- Uses an external node classifier (ENC) \fIhttps://puppet\.com/docs/puppet/latest/nodes_external\.html\fR, configured by the \fBexternal_nodes\fR setting\. This lets you pull a list of Puppet classes from any external system, using a small glue script to perform the request and format the result as YAML\. .IP "\[ci]" 4 \fBclassifier\fR (formerly \fBconsole\fR) \-\- Specific to Puppet Enterprise\. Uses the PE console for node data\." .IP "\[ci]" 4 \fIDefault\fR: plain .IP "" 0 .SS "noop" Whether to apply catalogs in noop mode, which allows Puppet to partially simulate a normal run\. This setting affects puppet agent and puppet apply\. .P When running in noop mode, Puppet will check whether each resource is in sync, like it does when running normally\. However, if a resource attribute is not in the desired state (as declared in the catalog), Puppet will take no action, and will instead report the changes it \fIwould\fR have made\. These simulated changes will appear in the report sent to the puppet master, or be shown on the console if running puppet agent or puppet apply in the foreground\. The simulated changes will not send refresh events to any subscribing or notified resources, although Puppet will log that a refresh event \fIwould\fR have been sent\. .P \fBImportant note:\fR The \fBnoop\fR metaparameter \fIhttps://puppet\.com/docs/puppet/latest/metaparameter\.html#noop\fR allows you to apply individual resources in noop mode, and will override the global value of the \fBnoop\fR setting\. This means a resource with \fBnoop => false\fR \fIwill\fR be changed if necessary, even when running puppet agent with \fBnoop = true\fR or \fB\-\-noop\fR\. (Conversely, a resource with \fBnoop => true\fR will only be simulated, even when noop mode is globally disabled\.) .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "onetime" Perform one configuration run and exit, rather than spawning a long\-running daemon\. This is useful for interactively running puppet agent, or running puppet agent from cron\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "ordering" How unrelated resources should be ordered when applying a catalog\. Allowed values are \fBtitle\-hash\fR, \fBmanifest\fR, and \fBrandom\fR\. This setting affects puppet agent and puppet apply, but not puppet master\. .IP "\[ci]" 4 \fBmanifest\fR (the default) will use the order in which the resources were declared in their manifest files\. .IP "\[ci]" 4 \fBtitle\-hash\fR (the default in 3\.x) will order resources randomly, but will use the same order across runs and across nodes\. It is only of value if you're migrating from 3\.x and have errors running with \fBmanifest\fR\. .IP "\[ci]" 4 \fBrandom\fR will order resources randomly and change their order with each run\. This can work like a fuzzer for shaking out undeclared dependencies\. .IP "" 0 .P Regardless of this setting's value, Puppet will always obey explicit dependencies set with the before/require/notify/subscribe metaparameters and the \fB\->\fR/\fB~>\fR chaining arrows; this setting only affects the relative ordering of \fIunrelated\fR resources\. .P This setting is deprecated, and will always have a value of \fBmanifest\fR in 6\.0 and up\. .IP "\[ci]" 4 \fIDefault\fR: manifest .IP "" 0 .SS "passfile" Where puppet agent stores the password for its private key\. Generally unused\. .IP "\[ci]" 4 \fIDefault\fR: $privatedir/password .IP "" 0 .SS "path" The shell search path\. Defaults to whatever is inherited from the parent process\. .P This setting can only be set in the \fB[main]\fR section of puppet\.conf; it cannot be set in \fB[master]\fR, \fB[agent]\fR, or an environment config section\. .IP "\[ci]" 4 \fIDefault\fR: none .IP "" 0 .SS "pidfile" The file containing the PID of a running process\. This file is intended to be used by service management frameworks and monitoring systems to determine if a puppet process is still in the process table\. .IP "\[ci]" 4 \fIDefault\fR: $rundir/${run_mode}\.pid .IP "" 0 .SS "plugindest" Where Puppet should store plugins that it pulls down from the central server\. .IP "\[ci]" 4 \fIDefault\fR: $libdir .IP "" 0 .SS "pluginfactdest" Where Puppet should store external facts that are being handled by pluginsync .IP "\[ci]" 4 \fIDefault\fR: $vardir/facts\.d .IP "" 0 .SS "pluginfactsource" Where to retrieve external facts for pluginsync .IP "\[ci]" 4 \fIDefault\fR: puppet:///pluginfacts .IP "" 0 .SS "pluginsignore" What files to ignore when pulling down plugins\. .IP "\[ci]" 4 \fIDefault\fR: \.svn CVS \.git \.hg .IP "" 0 .SS "pluginsource" From where to retrieve plugins\. The standard Puppet \fBfile\fR type is used for retrieval, so anything that is a valid file source can be used here\. .IP "\[ci]" 4 \fIDefault\fR: puppet:///plugins .IP "" 0 .SS "pluginsync" Whether plugins should be synced with the central server\. This setting is deprecated\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "postrun_command" A command to run after every agent run\. If this command returns a non\-zero return code, the entire Puppet run will be considered to have failed, even though it might have performed work during the normal run\. .SS "preferred_serialization_format" The preferred means of serializing ruby instances for passing over the wire\. This won't guarantee that all instances will be serialized using this method, since not all classes can be guaranteed to support this format, but it will be used for all classes that support it\. .IP "\[ci]" 4 \fIDefault\fR: json .IP "" 0 .SS "prerun_command" A command to run before every agent run\. If this command returns a non\-zero return code, the entire Puppet run will fail\. .SS "preview_outputdir" The directory where catalog previews per node are generated\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/preview .IP "" 0 .SS "priority" The scheduling priority of the process\. Valid values are 'high', 'normal', 'low', or 'idle', which are mapped to platform\-specific values\. The priority can also be specified as an integer value and will be passed as is, e\.g\. \-5\. Puppet must be running as a privileged user in order to increase scheduling priority\. .TP \fIDefault\fR: .SS "privatedir" Where the client stores private certificate information\. .IP "\[ci]" 4 \fIDefault\fR: $ssldir/private .IP "" 0 .SS "privatekeydir" The private key directory\. .IP "\[ci]" 4 \fIDefault\fR: $ssldir/private_keys .IP "" 0 .SS "profile" Whether to enable experimental performance profiling .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "publickeydir" The public key directory\. .IP "\[ci]" 4 \fIDefault\fR: $ssldir/public_keys .IP "" 0 .SS "puppet_trace" Whether to print the Puppet stack trace on some errors\. This is a noop if \fBtrace\fR is also set\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "puppetdlog" The fallback log file\. This is only used when the \fB\-\-logdest\fR option is not specified AND Puppet is running on an operating system where both the POSIX syslog service and the Windows Event Log are unavailable\. (Currently, no supported operating systems match that description\.) .P Despite the name, both puppet agent and puppet master will use this file as the fallback logging destination\. .P For control over logging destinations, see the \fB\-\-logdest\fR command line option in the manual pages for puppet master, puppet agent, and puppet apply\. You can see man pages by running \fBpuppet \-\-help\fR, or read them online at https://puppet\.com/docs/puppet/latest/man/\. .IP "\[ci]" 4 \fIDefault\fR: $logdir/puppetd\.log .IP "" 0 .SS "report" Whether to send reports after every transaction\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "report_port" The port to communicate with the report_server\. .IP "\[ci]" 4 \fIDefault\fR: $masterport .IP "" 0 .SS "report_server" The server to send transaction reports to\. .IP "\[ci]" 4 \fIDefault\fR: $server .IP "" 0 .SS "reportdir" The directory in which to store reports\. Each node gets a separate subdirectory in this directory\. This setting is only used when the \fBstore\fR report processor is enabled (see the \fBreports\fR setting)\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/reports .IP "" 0 .SS "reports" The list of report handlers to use\. When using multiple report handlers, their names should be comma\-separated, with whitespace allowed\. (For example, \fBreports = http, store\fR\.) .P This setting is relevant to puppet master and puppet apply\. The puppet master will call these report handlers with the reports it receives from agent nodes, and puppet apply will call them with its own report\. (In all cases, the node applying the catalog must have \fBreport = true\fR\.) .P See the report reference for information on the built\-in report handlers; custom report handlers can also be loaded from modules\. (Report handlers are loaded from the lib directory, at \fBpuppet/reports/NAME\.rb\fR\.) .IP "\[ci]" 4 \fIDefault\fR: store .IP "" 0 .SS "reporturl" The URL that reports should be forwarded to\. This setting is only used when the \fBhttp\fR report processor is enabled (see the \fBreports\fR setting)\. .IP "\[ci]" 4 \fIDefault\fR: http://localhost:3000/reports/upload .IP "" 0 .SS "requestdir" Where host certificate requests are stored\. .IP "\[ci]" 4 \fIDefault\fR: $ssldir/certificate_requests .IP "" 0 .SS "resourcefile" The file in which puppet agent stores a list of the resources associated with the retrieved configuration\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/resources\.txt .IP "" 0 .SS "rest_authconfig" The configuration file that defines the rights to the different rest indirections\. This can be used as a fine\-grained authorization system for \fBpuppet master\fR\. The \fBpuppet master\fR command is deprecated and Puppet Server uses its own auth\.conf that must be placed within its configuration directory\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/auth\.conf .IP "" 0 .SS "resubmit_facts" Whether to send updated facts after every transaction\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "rich_data" Enables having extended data in the catalog by storing them as a hash with the special key \fB__pcore_type__\fR\. When enabled, resource containing values of the data types \fBBinary\fR, \fBRegexp\fR, \fBSemVer\fR, \fBSemVerRange\fR, \fBTimespan\fR and \fBTimestamp\fR, as well as instances of types derived from \fBObject\fR retain their data type\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "route_file" The YAML file containing indirector route configuration\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/routes\.yaml .IP "" 0 .SS "rundir" Where Puppet PID files are kept\. .IP "\[ci]" 4 \fIDefault\fR: Unix/Linux: /var/run/puppetlabs \-\- Windows: C:\eProgramData\ePuppetLabs\epuppet\evar\erun \-\- Non\-root user: ~/\.puppetlabs/var/run .IP "" 0 .SS "runinterval" How often puppet agent applies the catalog\. Note that a runinterval of 0 means "run continuously" rather than "never run\." If you want puppet agent to never run, you should start it with the \fB\-\-no\-client\fR option\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: 30m .IP "" 0 .SS "runtimeout" The maximum amount of time an agent run is allowed to take\. A Puppet agent run that exceeds this timeout will be aborted\. Defaults to 0, which is unlimited\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: 0 .IP "" 0 .SS "serial" Where the serial number for certificates is stored\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/serial .IP "" 0 .SS "server" The puppet master server to which the puppet agent should connect\. .IP "\[ci]" 4 \fIDefault\fR: puppet .IP "" 0 .SS "server_datadir" The directory in which serialized data is stored, usually in a subdirectory\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/server_data .IP "" 0 .SS "server_list" The list of puppet master servers to which the puppet agent should connect, in the order that they will be tried\. .IP "\[ci]" 4 \fIDefault\fR: [] .IP "" 0 .SS "show_diff" Whether to log and report a contextual diff when files are being replaced\. This causes partial file contents to pass through Puppet's normal logging and reporting system, so this setting should be used with caution if you are sending Puppet's reports to an insecure destination\. This feature currently requires the \fBdiff/lcs\fR Ruby library\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "signeddir" Where the CA stores signed certificates\. .IP "\[ci]" 4 \fIDefault\fR: $cadir/signed .IP "" 0 .SS "skip_tags" Tags to use to filter resources\. If this is set, then only resources not tagged with the specified tags will be applied\. Values must be comma\-separated\. .SS "sourceaddress" The address the agent should use to initiate requests\. .TP \fIDefault\fR: .SS "splay" Whether to sleep for a random amount of time, ranging from immediately up to its \fB$splaylimit\fR, before performing its first agent run after a service restart\. After this period, the agent runs periodically on its \fB$runinterval\fR\. .P For example, assume a default 30\-minute \fB$runinterval\fR, \fBsplay\fR set to its default of \fBfalse\fR, and an agent starting at :00 past the hour\. The agent would check in every 30 minutes at :01 and :31 past the hour\. .P With \fBsplay\fR enabled, it waits any amount of time up to its \fB$splaylimit\fR before its first run\. For example, it might randomly wait 8 minutes, then start its first run at :08 past the hour\. With the \fB$runinterval\fR at its default 30 minutes, its next run will be at :38 past the hour\. .P If you restart an agent's puppet service with \fBsplay\fR enabled, it recalculates its splay period and delays its first agent run after restarting for this new period\. If you simultaneously restart a group of puppet agents with \fBsplay\fR enabled, their checkins to your puppet masters can be distributed more evenly\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "splaylimit" The maximum time to delay before an agent's first run when \fBsplay\fR is enabled\. Defaults to the agent's \fB$runinterval\fR\. The \fBsplay\fR interval is random and recalculated each time the agent is started or restarted\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: $runinterval .IP "" 0 .SS "srv_domain" The domain which will be queried to find the SRV records of servers to use\. .IP "\[ci]" 4 \fIDefault\fR: debian\.org .IP "" 0 .SS "ssl_client_ca_auth" Certificate authorities who issue server certificates\. SSL servers will not be considered authentic unless they possess a certificate issued by an authority listed in this file\. If this setting has no value then the Puppet master's CA certificate (localcacert) will be used\. .TP \fIDefault\fR: .SS "ssl_client_header" The header containing an authenticated client's SSL DN\. This header must be set by the proxy to the authenticated client's SSL DN (e\.g\., \fB/CN=puppet\.puppetlabs\.com\fR)\. Puppet will parse out the Common Name (CN) from the Distinguished Name (DN) and use the value of the CN field for authorization\. .P Note that the name of the HTTP header gets munged by the web server common gateway interface: an \fBHTTP_\fR prefix is added, dashes are converted to underscores, and all letters are uppercased\. Thus, to use the \fBX\-Client\-DN\fR header, this setting should be \fBHTTP_X_CLIENT_DN\fR\. .IP "\[ci]" 4 \fIDefault\fR: HTTP_X_CLIENT_DN .IP "" 0 .SS "ssl_client_verify_header" The header containing the status message of the client verification\. This header must be set by the proxy to 'SUCCESS' if the client successfully authenticated, and anything else otherwise\. .P Note that the name of the HTTP header gets munged by the web server common gateway interface: an \fBHTTP_\fR prefix is added, dashes are converted to underscores, and all letters are uppercased\. Thus, to use the \fBX\-Client\-Verify\fR header, this setting should be \fBHTTP_X_CLIENT_VERIFY\fR\. .IP "\[ci]" 4 \fIDefault\fR: HTTP_X_CLIENT_VERIFY .IP "" 0 .SS "ssl_server_ca_auth" Certificate authorities who issue client certificates\. SSL clients will not be considered authentic unless they possess a certificate issued by an authority listed in this file\. If this setting has no value then the Puppet master's CA certificate (localcacert) will be used\. .TP \fIDefault\fR: .SS "ssldir" Where SSL certificates are kept\. .IP "\[ci]" 4 \fIDefault\fR: $confdir/ssl .IP "" 0 .SS "statedir" The directory where Puppet state is stored\. Generally, this directory can be removed without causing harm (although it might result in spurious service restarts)\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/state .IP "" 0 .SS "statefile" Where puppet agent and puppet master store state associated with the running configuration\. In the case of puppet master, this file reflects the state discovered through interacting with clients\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/state\.yaml .IP "" 0 .SS "statettl" How long the Puppet agent should cache when a resource was last checked or synced\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. A value of \fB0\fR or \fBunlimited\fR will disable cache pruning\. .P This setting affects the usage of \fBschedule\fR resources, as the information about when a resource was last checked (and therefore when it needs to be checked again) is stored in the \fBstatefile\fR\. The \fBstatettl\fR needs to be large enough to ensure that a resource will not trigger multiple times during a schedule due to its entry expiring from the cache\. .IP "\[ci]" 4 \fIDefault\fR: 32d .IP "" 0 .SS "static_catalogs" Whether to compile a static catalog \fIhttps://puppet\.com/docs/puppet/latest/static_catalogs\.html#enabling\-or\-disabling\-static\-catalogs\fR, which occurs only on a Puppet Server master when the \fBcode\-id\-command\fR and \fBcode\-content\-command\fR settings are configured in its \fBpuppetserver\.conf\fR file\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "storeconfigs" Whether to store each client's configuration, including catalogs, facts, and related data\. This also enables the import and export of resources in the Puppet language \- a mechanism for exchange resources between nodes\. .P By default this uses the 'puppetdb' backend\. .P You can adjust the backend using the storeconfigs_backend setting\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "storeconfigs_backend" Configure the backend terminus used for StoreConfigs\. By default, this uses the PuppetDB store, which must be installed and configured before turning on StoreConfigs\. .IP "\[ci]" 4 \fIDefault\fR: puppetdb .IP "" 0 .SS "strict" The strictness level of puppet\. Allowed values are: .IP "\[ci]" 4 off \- do not perform extra validation, do not report .IP "\[ci]" 4 warning \- perform extra validation, report as warning (default) .IP "\[ci]" 4 error \- perform extra validation, fail with error .IP "" 0 .P The strictness level is for both language semantics and runtime evaluation validation\. In addition to controlling the behavior with this master switch some individual warnings may also be controlled by the disable_warnings setting\. .P No new validations will be added to a micro (x\.y\.z) release, but may be added in minor releases (x\.y\.0)\. In major releases it expected that most (if not all) strictness validation become standard behavior\. .IP "\[ci]" 4 \fIDefault\fR: warning .IP "" 0 .SS "strict_environment_mode" Whether the agent specified environment should be considered authoritative, causing the run to fail if the retrieved catalog does not match it\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "strict_hostname_checking" Whether to only search for the complete hostname as it is in the certificate when searching for node information in the catalogs or to match dot delimited segments of the cert's certname and the hostname, fqdn, and/or domain facts\. .P This setting is deprecated and will be removed in a future release\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "strict_variables" Causes an evaluation error when referencing unknown variables\. (This does not affect referencing variables that are explicitly set to undef)\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "summarize" Whether to print a transaction summary\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "supported_checksum_types" Checksum types supported by this agent for use in file resources of a static catalog\. Values must be comma\-separated\. Valid types are md5, md5lite, sha256, sha256lite, sha384, sha512, sha224, sha1, sha1lite, mtime, ctime\. Default is md5, sha256, sha384, sha512, sha224\. .IP "\[ci]" 4 \fIDefault\fR: ["md5", "sha256", "sha384", "sha512", "sha224"] .IP "" 0 .SS "syslogfacility" What syslog facility to use when logging to syslog\. Syslog has a fixed list of valid facilities, and you must choose one of those; you cannot just make one up\. .IP "\[ci]" 4 \fIDefault\fR: daemon .IP "" 0 .SS "tags" Tags to use to find resources\. If this is set, then only resources tagged with the specified tags will be applied\. Values must be comma\-separated\. .SS "tasks" Turns on experimental support for tasks and plans in the puppet language\. This is for internal API use only\. Do not change this setting\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "trace" Whether to print stack traces on some errors\. Will print internal Ruby stack trace interleaved with Puppet function frames\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "transactionstorefile" Transactional storage file for persisting data between transactions for the purposes of infering information (such as corrective_change) on new data received\. .IP "\[ci]" 4 \fIDefault\fR: $statedir/transactionstore\.yaml .IP "" 0 .SS "trusted_oid_mapping_file" File that provides mapping between custom SSL oids and user\-friendly names .IP "\[ci]" 4 \fIDefault\fR: $confdir/custom_trusted_oid_mapping\.yaml .IP "" 0 .SS "trusted_server_facts" The 'trusted_server_facts' setting is deprecated and has no effect as the feature this enabled is now always on\. The setting will be removed in a future version of puppet\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "use_cached_catalog" Whether to only use the cached catalog rather than compiling a new catalog on every run\. Puppet can be run with this enabled by default and then selectively disabled when a recompile is desired\. Because a Puppet agent using cached catalogs does not contact the master for a new catalog, it also does not upload facts at the beginning of the Puppet run\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "use_srv_records" Whether the server will search for SRV records in DNS for the current domain\. .IP "\[ci]" 4 \fIDefault\fR: false .IP "" 0 .SS "usecacheonfailure" Whether to use the cached configuration when the remote configuration will not compile\. This option is useful for testing new configurations, where you want to fix the broken configuration rather than reverting to a known\-good one\. .IP "\[ci]" 4 \fIDefault\fR: true .IP "" 0 .SS "user" The user Puppet Server will run as\. Used to ensure the agent side processes (agent, apply, etc) create files and directories readable by Puppet Server when necessary\. .IP "\[ci]" 4 \fIDefault\fR: puppet .IP "" 0 .SS "vardir" Where Puppet stores dynamic and growing data\. The default for this setting is calculated specially, like \fBconfdir\fR_\. .IP "\[ci]" 4 \fIDefault\fR: Unix/Linux: /opt/puppetlabs/puppet/cache \-\- Windows: C:\eProgramData\ePuppetLabs\epuppet\ecache \-\- Non\-root user: ~/\.puppetlabs/opt/puppet/cache .IP "" 0 .SS "waitforcert" How frequently puppet agent should ask for a signed certificate\. .P When starting for the first time, puppet agent will submit a certificate signing request (CSR) to the server named in the \fBca_server\fR setting (usually the puppet master); this may be autosigned, or may need to be approved by a human, depending on the CA server's configuration\. .P Puppet agent cannot apply configurations until its approved certificate is available\. Since the certificate may or may not be available immediately, puppet agent will repeatedly try to fetch it at this interval\. You can turn off waiting for certificates by specifying a time of 0, in which case puppet agent will exit if it cannot get a cert\. This setting can be a time interval in seconds (30 or 30s), minutes (30m), hours (6h), days (2d), or years (5y)\. .IP "\[ci]" 4 \fIDefault\fR: 2m .IP "" 0 .SS "yamldir" The directory in which YAML data is stored, usually in a subdirectory\. .IP "\[ci]" 4 \fIDefault\fR: $vardir/yaml .IP "" 0