spm
¶spm <command> [<argument>]
spm is the frontend command for managing Salt packages. Packages normally only
include formulas, meaning a group of SLS files that install into the
file_roots
on the Salt Master, but Salt modules can also be installed.
Assume yes
instead of prompting the other whether or not to proceed
with a particular command. Default is False.
When presented with a course of action that spm would normally refuse to perform, that action will be performed anyway. This is often destructive, and should be used with caution.
Logging options which override any settings defined on the configuration files.
Console logging log level. One of all
, garbage
, trace
,
debug
, info
, warning
, error
, quiet
. Default:
warning
.
Log file path. Default: /var/log/salt/spm.
Logfile logging log level. One of all
, garbage
, trace
,
debug
, info
, warning
, error
, quiet
. Default:
warning
.
Connect to remote repositories locally configured on the system and download their metadata.
Install a package from a configured SPM repository. Requires a package name.
Remove an installed package from the system. Requires a package name.
List information about an installed package. Requires a package name.
List files belonging to an installed package. Requires a package name.
Perform one of the above options (except for remove) on a package file, instead of on a package in a repository, or an installed package. Requires a valid path to a local file on the system.
Build a package from a directory containing a FORMULA file. Requires a valid path to a local directory on the system.
Scan a directory for valid SPM package files and build an SPM-METADATA file in that directory which describes them.
salt(1) salt-master(1) salt-minion(1)