22.2.8.1. salt-minion

The Salt minion daemon, receives commands from a remote Salt master.

22.2.8.1.1. Synopsis

salt-minion [ options ]

22.2.8.1.2. Description

The Salt minion receives commands from the central Salt master and replies with the results of said commands.

22.2.8.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-minion

-d, --daemon

Run salt-minion as a daemon

--pid-file PIDFILE

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

22.2.8.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/minion.

--log-file-level=LOG_LEVEL_LOGFILE

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

22.2.8.1.4. See also

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


These docs are for Salt's development version: 546ecd7.

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2014.7.0

Table Of Contents

Previous topic

22.2.7.1. salt-master

Next topic

22.2.9.1. salt-run

SaltConf15

Call for speakers now open. Early-bird and group discounts.

SaltStack training

Now offering remote attendee training!