Scroll to navigation

SALT-PEPPER(1) User Commands SALT-PEPPER(1)

NAME

salt-pepper - Tool to access a salt-api instance

SYNOPSIS

salt-pepper [opts]

DESCRIPTION

A CLI interface to a remote salt-api instance

OPTIONS

show program's version number and exit
show this help message and exit
Configuration file location. Default is a file path in the "PEPPERRC" environment variable or ~/.pepperrc.
Increment output verbosity; may be specified multiple times
Output the HTTP request/response headers on stderr
Ignore any SSL certificate that may be encountered. Note that it is recommended to resolve certificate errors for production.
Pepper ``salt`` Options:
Mimic the ``salt`` CLI
Specify wait time (in seconds) before returning control to the shell
specify the salt-api client to use (local, local_async, runner, etc)
Enter JSON at the CLI instead of positional (text) arguments. This is useful for arguments that need complex data structures. Specifying this argument will cause positional arguments to be ignored.
Specify file containing the JSON to be used by salt-pepper
Return a failure exit code if not all minions respond. This option requires the authenticated user have access to run the `jobs.list_jobs` runner function.
Targeting Options:
Target which minions to run commands on
Target hostnames using PCRE regular expressions
Specify a comma delimited list of hostnames
Target based on system properties
Target based on PCRE matches on system properties
Target based on pillar values
Target based on PCRE matches on pillar values
Target based on range expression
Target based on compound expression
Target based on a named nodegroup

--batch=BATCH

Authentication Options:
Authentication credentials can optionally be supplied via the environment variables: SALTAPI_URL, SALTAPI_USER, SALTAPI_PASS, SALTAPI_EAUTH.
Specify the host url. Defaults to https://localhost:8080
Specify the external_auth backend to authenticate against and interactively prompt for credentials
Optional, defaults to user name. will be prompt if empty unless --non-interactive
Optional, but will be prompted unless --noninteractive
Set eauth token expiry in seconds. Must be allowed per user. See the `token_expire_user_override` Master setting for more info.
Optional, fail rather than waiting for input
Generate and save an authentication token for re-use. The token is generated and made available for the period defined in the Salt Master.
Use an eauth token from /token and send commands through the /run URL instead of the traditional session token approach.
Cache file location. Default is a file path in the "PEPPERCACHE" environment variable or ~/.peppercache.

SEE ALSO

The full documentation for salt-pepper is maintained as a Texinfo manual. If the info and salt-pepper programs are properly installed at your site, the command

info salt-pepper

should give you access to the complete manual.

March 2018 salt-pepper 0.5.5-1