Global puppet-code options

The puppet-code command supports these global options.

Option Description Allowed arguments
--help or -h Prints puppet-code usage information. No arguments supported
--version or -V Prints the application's version. No arguments supported
--log-level or -l Sets the log verbosity. One of the following log levels:
  • none
  • trace
  • debug
  • info
  • warn
  • error
  • fatal
--config-file or -c Specifies a puppet-code.conf file that takes precedence over all other existing puppet-code.conf files.

Refer to: Use a temporary puppet-code.conf file

A path to a puppet-code.conf file
--cacert Specifies a Puppet CA certificate that overrides the cacert setting in any configuration files.

Refer to: Use a temporary cacert, token-file, or service-url

A path to the location of the CA Certificate
--token-file or -t Specifies an authentication token that overrides the token-file setting in any configuration files.

Refer to: Use a temporary cacert, token-file, or service-url

A path to the location of the authentication token
--service-url Specifies a base URL for the Code Manager service, overriding the service-url setting in any configuration files.

Refer to: Use a temporary cacert, token-file, or service-url

A valid URL to call the Code Manager service