1SPM(1) Salt SPM(1)
2
3
4
6 spm - Salt Package Manager Command
7
8 Salt Package Manager
9
11 spm <command> [<argument>]
12
14 spm is the frontend command for managing Salt packages. Packages nor‐
15 mally only include formulas, meaning a group of SLS files that install
16 into the file_roots on the Salt Master, but Salt modules can also be
17 installed.
18
20 -y, --assume-yes
21 Assume yes instead of prompting the other whether or not to pro‐
22 ceed with a particular command. Default is False.
23
24 -f, --force
25 When presented with a course of action that spm would normally
26 refuse to perform, that action will be performed anyway. This is
27 often destructive, and should be used with caution.
28
29 Logging Options
30 Logging options which override any settings defined on the configura‐
31 tion files.
32
33 -l LOG_LEVEL, --log-level=LOG_LEVEL
34 Console logging log level. One of all, garbage, trace, debug,
35 info, warning, error, quiet. Default: warning.
36
37 --log-file=LOG_FILE
38 Log file path. Default: /var/log/salt/spm.
39
40 --log-file-level=LOG_LEVEL_LOGFILE
41 Logfile logging log level. One of all, garbage, trace, debug,
42 info, warning, error, quiet. Default: warning.
43
45 update_repo
46 Connect to remote repositories locally configured on the system
47 and download their metadata.
48
49 install
50 Install a package from a configured SPM repository. Requires a
51 package name.
52
53 remove Remove an installed package from the system. Requires a package
54 name.
55
56 info List information about an installed package. Requires a package
57 name.
58
59 files List files belonging to an installed package. Requires a package
60 name.
61
62 local Perform one of the above options (except for remove) on a pack‐
63 age file, instead of on a package in a repository, or an in‐
64 stalled package. Requires a valid path to a local file on the
65 system.
66
67 build Build a package from a directory containing a FORMULA file. Re‐
68 quires a valid path to a local directory on the system.
69
70 create_repo
71 Scan a directory for valid SPM package files and build an
72 SPM-METADATA file in that directory which describes them.
73
75 salt(1) salt-master(1) salt-minion(1)
76
78 Thomas S. Hatch <thatch45@gmail.com> and many others, please see the
79 Authors file
80
81
82
83
843003 Feb 23, 2021 SPM(1)