Use a temporary cacert, token-file, or service-url
You can temporarily override individual puppet-code
configuration settings by specifying individual settings on the command line.
If you want to temporarily override default, global, and user-specific configuration settings, you can specify these settings directly on the command line:
--cacert
--token-file
or-t
--service-url
For example, this command uses a custom URL to call the Code Manager service:
puppet-code --service-url "https://puppet.example.com:8170/code-manager" deploy production
For Windows, macOS, and *nix argument
formatting examples, refer to puppet-code configuration settings.
When you specify settings this way, your custom settings are only used for this one deployment. Unspecified settings aren't overridden.