Scroll to navigation

SPM(1) Salt SPM(1)

NAME

spm - Salt Package Manager Command

Salt Package Manager

SYNOPSIS

spm <command> [<argument>]


DESCRIPTION

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.

OPTIONS

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

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.

COMMANDS

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.

SEE ALSO

salt(1) salt-master(1) salt-minion(1)

AUTHOR

Thomas S. Hatch <thatch45@gmail.com> and many others, please see the Authors file

COPYRIGHT

2023

Generated on April 18, 2023 at 08:56:37 PM UTC. 3006.0