22.2.7.1. salt-master

The Salt master daemon, used to control the Salt minions

22.2.7.1.1. Synopsis

salt-master [ options ]

22.2.7.1.2. Description

The master daemon controls the Salt minions

22.2.7.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.

-u USER, --user=USER

Specify user to run salt-master

-d, --daemon

Run salt-master as a daemon

--pid-file PIDFILE

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

22.2.7.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/master.

--log-file-level=LOG_LEVEL_LOGFILE

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

22.2.7.1.4. See also

salt(1) salt(7) salt-minion(1)

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

Latest Salt release: 2014.7.1

Table Of Contents

Previous topic

22.2.6.1. salt-key

Next topic

22.2.8.1. salt-minion

SaltStack News

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