mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Add versionadded
This commit is contained in:
parent
4a95b11652
commit
8e1bebfc92
5 changed files with 9 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
Salt's spm cli parser.
|
||||
|
||||
.. versionadded:: Beryllium
|
||||
'''
|
||||
|
||||
# Import Python libs
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
This module provides the point of entry to SPM, the Salt Package Manager
|
||||
|
||||
.. versionadded:: Beryllium
|
||||
'''
|
||||
from __future__ import absolute_import
|
||||
# Import Python libs
|
||||
|
|
|
@ -2748,6 +2748,8 @@ def spm_config(path):
|
|||
'''
|
||||
Read in the salt master config file and add additional configs that
|
||||
need to be stubbed out for spm
|
||||
|
||||
.. versionadded:: Beryllium
|
||||
'''
|
||||
# Let's grab a copy of salt's master default opts
|
||||
defaults = DEFAULT_MASTER_OPTS
|
||||
|
|
|
@ -360,6 +360,8 @@ def salt_main():
|
|||
def salt_spm():
|
||||
'''
|
||||
The main function for spm, the Salt Package Manager
|
||||
|
||||
.. versionadded:: Beryllium
|
||||
'''
|
||||
import salt.cli.spm
|
||||
spm = salt.cli.spm.SPM() # pylint: disable=E1120
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
'''
|
||||
Publish commands to the salt system from the command line on the master.
|
||||
|
||||
.. versionadded:: Beryllium
|
||||
'''
|
||||
|
||||
from salt.scripts import salt_spm
|
||||
|
|
Loading…
Add table
Reference in a new issue