1
0

spm.1 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH "SPM" "1" "Jul 07, 2020" "3001.1" "Salt"
  4. .SH NAME
  5. spm \- Salt Package Manager Command
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .sp
  34. Salt Package Manager
  35. .SH SYNOPSIS
  36. .INDENT 0.0
  37. .INDENT 3.5
  38. .sp
  39. .nf
  40. .ft C
  41. spm <command> [<argument>]
  42. .ft P
  43. .fi
  44. .UNINDENT
  45. .UNINDENT
  46. .SH DESCRIPTION
  47. .sp
  48. spm is the frontend command for managing Salt packages. Packages normally only
  49. include formulas, meaning a group of SLS files that install into the
  50. \fBfile_roots\fP on the Salt Master, but Salt modules can also be installed.
  51. .SH OPTIONS
  52. .INDENT 0.0
  53. .TP
  54. .B \-y, \-\-assume\-yes
  55. Assume \fByes\fP instead of prompting the other whether or not to proceed
  56. with a particular command. Default is False.
  57. .UNINDENT
  58. .INDENT 0.0
  59. .TP
  60. .B \-f, \-\-force
  61. When presented with a course of action that spm would normally refuse to
  62. perform, that action will be performed anyway. This is often destructive,
  63. and should be used with caution.
  64. .UNINDENT
  65. .SS Logging Options
  66. .sp
  67. Logging options which override any settings defined on the configuration files.
  68. .INDENT 0.0
  69. .TP
  70. .B \-l LOG_LEVEL, \-\-log\-level=LOG_LEVEL
  71. Console logging log level. One of \fBall\fP, \fBgarbage\fP, \fBtrace\fP,
  72. \fBdebug\fP, \fBinfo\fP, \fBwarning\fP, \fBerror\fP, \fBquiet\fP\&. Default:
  73. \fBwarning\fP\&.
  74. .UNINDENT
  75. .INDENT 0.0
  76. .TP
  77. .B \-\-log\-file=LOG_FILE
  78. Log file path. Default: /var/log/salt/spm\&.
  79. .UNINDENT
  80. .INDENT 0.0
  81. .TP
  82. .B \-\-log\-file\-level=LOG_LEVEL_LOGFILE
  83. Logfile logging log level. One of \fBall\fP, \fBgarbage\fP, \fBtrace\fP,
  84. \fBdebug\fP, \fBinfo\fP, \fBwarning\fP, \fBerror\fP, \fBquiet\fP\&. Default:
  85. \fBwarning\fP\&.
  86. .UNINDENT
  87. .SH COMMANDS
  88. .INDENT 0.0
  89. .TP
  90. .B update_repo
  91. Connect to remote repositories locally configured on the system and download
  92. their metadata.
  93. .UNINDENT
  94. .INDENT 0.0
  95. .TP
  96. .B install
  97. Install a package from a configured SPM repository. Requires a package name.
  98. .UNINDENT
  99. .INDENT 0.0
  100. .TP
  101. .B remove
  102. Remove an installed package from the system. Requires a package name.
  103. .UNINDENT
  104. .INDENT 0.0
  105. .TP
  106. .B info
  107. List information about an installed package. Requires a package name.
  108. .UNINDENT
  109. .INDENT 0.0
  110. .TP
  111. .B files
  112. List files belonging to an installed package. Requires a package name.
  113. .UNINDENT
  114. .INDENT 0.0
  115. .TP
  116. .B local
  117. Perform one of the above options (except for remove) on a package file,
  118. instead of on a package in a repository, or an installed package. Requires
  119. a valid path to a local file on the system.
  120. .UNINDENT
  121. .INDENT 0.0
  122. .TP
  123. .B build
  124. Build a package from a directory containing a FORMULA file. Requires a valid
  125. path to a local directory on the system.
  126. .UNINDENT
  127. .INDENT 0.0
  128. .TP
  129. .B create_repo
  130. Scan a directory for valid SPM package files and build an SPM\-METADATA file
  131. in that directory which describes them.
  132. .UNINDENT
  133. .SH SEE ALSO
  134. .sp
  135. \fBsalt(1)\fP
  136. \fBsalt\-master(1)\fP
  137. \fBsalt\-minion(1)\fP
  138. .SH AUTHOR
  139. Thomas S. Hatch <thatch45@gmail.com> and many others, please see the Authors file
  140. .\" Generated by docutils manpage writer.
  141. .