22.2.12.1. salt-api

Start interfaces used to remotely connect to the salt master

22.2.12.1.1. Synopsis

salt-api

22.2.12.1.2. Description

The Salt API system manages network api connectors for the Salt Master

22.2.12.1.3. Options

--version

Print the version of Salt that is running.

--versions-report

Show program's dependencies and version number, and then exit

-h, --help

Show the help message and exit

-c CONFIG_DIR, --config-dir=CONFIG_dir

The location of the Salt configuration directory. This directory contains the configuration files for Salt master and minions. The default location on most systems is /etc/salt.

-d, --daemon

Run the salt-api as a daemon

--pid-file=PIDFILE

Specify the location of the pidfile. Default: /var/run/salt-api.pid

22.2.12.1.3.1. Logging Options

Logging options which override any settings defined on the configuration files.

-l LOG_LEVEL, --log-level=LOG_LEVEL

Console logging log level. One of all, garbage, trace, debug, info, warning, error, quiet. Default: warning.

--log-file=LOG_FILE

Log file path. Default: /var/log/salt/api.

--log-file-level=LOG_LEVEL_LOGFILE

Logfile logging log level. One of all, garbage, trace, debug, info, warning, error, quiet. Default: warning.

22.2.12.1.4. See also

salt-api(7) salt(7) salt-master(1)

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.2

Table Of Contents

Previous topic

22.2.11.1. salt-syndic

Next topic

22.3. Client ACL system

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.