mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adding deprecation message to all boto modules in preparation for moving these to a salt extension
This commit is contained in:
parent
fac15ed958
commit
de670b3965
67 changed files with 465 additions and 1 deletions
|
@ -66,6 +66,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO3 = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -74,6 +74,13 @@ except ImportError:
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -70,6 +70,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO3 = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -60,6 +60,13 @@ except ImportError:
|
|||
HAS_BOTO = False
|
||||
# pylint: enable=unused-import
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -106,6 +106,13 @@ except ImportError:
|
|||
# pylint: enable=import-error
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if boto libraries exist and if boto libraries are greater than
|
||||
|
|
|
@ -76,6 +76,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -52,6 +52,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -68,6 +68,13 @@ except ImportError:
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -72,6 +72,13 @@ except ImportError:
|
|||
HAS_BOTO = False
|
||||
# pylint: enable=import-error
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -65,6 +65,13 @@ except ImportError:
|
|||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if boto libraries exist.
|
||||
|
|
|
@ -67,6 +67,13 @@ except ImportError as e:
|
|||
HAS_BOTO = False
|
||||
# pylint: enable=import-error
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -100,6 +100,13 @@ except ImportError:
|
|||
HAS_BOTO = False
|
||||
# pylint: enable=import-error
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -23,6 +23,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO3 = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -80,6 +80,13 @@ except ImportError:
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -71,6 +71,13 @@ except ImportError:
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -63,6 +63,13 @@ except ImportError:
|
|||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if boto3 libraries exist and if boto3 libraries are greater than
|
||||
|
|
|
@ -66,6 +66,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -100,6 +100,13 @@ except ImportError:
|
|||
HAS_BOTO = False
|
||||
# pylint: enable=import-error
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -68,6 +68,13 @@ except ImportError:
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -59,6 +59,13 @@ except ImportError:
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -62,6 +62,13 @@ except ImportError:
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -76,6 +76,13 @@ except ImportError:
|
|||
# pylint: enable=import-error
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if boto libraries exist and if boto libraries are greater than
|
||||
|
|
|
@ -66,6 +66,13 @@ log = logging.getLogger(__name__)
|
|||
|
||||
__virtualname__ = "boto_kinesis"
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -56,6 +56,13 @@ try:
|
|||
except (ImportError, AttributeError):
|
||||
HAS_BOTO = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -108,6 +108,13 @@ except ImportError:
|
|||
HAS_BOTO = False
|
||||
# pylint: enable=import-error
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -127,6 +127,13 @@ def __virtual__():
|
|||
return salt.utils.versions.check_boto_reqs(boto3_ver="1.3.1")
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __init__(opts):
|
||||
if HAS_BOTO:
|
||||
__utils__["boto3.assign_funcs"](__name__, "rds")
|
||||
|
|
|
@ -68,6 +68,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -70,6 +70,13 @@ except ImportError:
|
|||
HAS_BOTO = False
|
||||
# pylint: enable=import-error
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -76,6 +76,13 @@ except ImportError:
|
|||
HAS_BOTO = False
|
||||
# pylint: enable=import-error
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -64,6 +64,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -59,6 +59,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -68,6 +68,13 @@ except ImportError:
|
|||
HAS_BOTO3 = False
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if boto3 libraries exist.
|
||||
|
|
|
@ -19,6 +19,13 @@ import salt.utils.versions
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -168,6 +168,13 @@ try:
|
|||
except ImportError:
|
||||
HAS_BOTO3 = False
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -87,6 +87,12 @@ passed in as a dict, or as a string to pull from pillars or minion config:
|
|||
key: askdjghsdfjkghWupUjasdflkdfklgjsdfjajkghs
|
||||
"""
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -50,6 +50,13 @@ import salt.utils.json
|
|||
from salt.utils.versions import Version
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
__virtualname__ = "boto3_elasticsearch"
|
||||
|
||||
|
||||
|
|
|
@ -73,6 +73,12 @@ from salt.exceptions import SaltInvocationError
|
|||
|
||||
log = logging.getLogger(__name__) # pylint: disable=W1699
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -70,6 +70,12 @@ import salt.utils.json
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -62,6 +62,12 @@ import salt.utils.yaml
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -202,6 +202,12 @@ from salt.exceptions import SaltInvocationError
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -46,6 +46,13 @@ log = logging.getLogger(__name__)
|
|||
|
||||
__virtualname__ = "boto_cfn"
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -47,8 +47,15 @@ either passed in as a dict, or a string to pull from pillars or minion config:
|
|||
import difflib
|
||||
import logging
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -61,6 +61,13 @@ import salt.utils.data
|
|||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if boto is available.
|
||||
|
|
|
@ -55,6 +55,12 @@ as a passed in dict, or as a string to pull from pillars or minion config:
|
|||
|
||||
import salt.utils.data
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -59,6 +59,12 @@ import salt.utils.json
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -50,6 +50,13 @@ import logging
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -56,6 +56,13 @@ import difflib
|
|||
import salt.utils.data
|
||||
import salt.utils.json
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -162,6 +162,12 @@ import sys
|
|||
|
||||
import salt.utils.dictupdate as dictupdate
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s %(name)s %(levelname)s %(message)s",
|
||||
|
|
|
@ -60,6 +60,13 @@ from salt.exceptions import CommandExecutionError, SaltInvocationError
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -78,8 +78,15 @@ passed in as a dict, or as a string to pull from pillars or minion config:
|
|||
|
||||
import logging
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -85,6 +85,12 @@ import salt.utils.json
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -246,6 +246,13 @@ from salt.exceptions import SaltInvocationError
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -36,8 +36,16 @@ passed in as a dict, or as a string to pull from pillars or minion config:
|
|||
import copy
|
||||
import logging
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -146,6 +146,14 @@ log = logging.getLogger(__name__)
|
|||
__virtualname__ = "boto_iam"
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if elementtree xml library and boto are available.
|
||||
|
|
|
@ -94,6 +94,13 @@ from salt.utils.odict import OrderedDict
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -80,6 +80,13 @@ import salt.utils.json
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -60,10 +60,18 @@ pillars or minion config:
|
|||
# Keep pylint from chocking on ret
|
||||
import logging
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__virtualname__ = "boto_kinesis"
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -72,6 +72,13 @@ from salt.exceptions import SaltInvocationError
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -100,6 +100,12 @@ and autoscale groups are completely dependent on each other.
|
|||
|
||||
from salt.exceptions import SaltInvocationError
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -77,6 +77,13 @@ from salt.exceptions import SaltInvocationError
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -80,6 +80,13 @@ from salt.exceptions import SaltInvocationError
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -57,6 +57,13 @@ import salt.utils.hashutils
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -145,6 +145,13 @@ import salt.utils.json
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -111,6 +111,13 @@ from salt.exceptions import SaltInvocationError
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
|
|
|
@ -58,6 +58,14 @@ passed in as a dict, or as a string to pull from pillars or minion config:
|
|||
import re
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if boto is available.
|
||||
|
|
|
@ -65,6 +65,13 @@ import salt.utils.json
|
|||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
def __virtual__():
|
||||
"""
|
||||
Only load if boto is available.
|
||||
|
|
|
@ -144,11 +144,19 @@ Delete also accepts a VPC peering connection id.
|
|||
|
||||
import logging
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
import salt.utils.dictupdate as dictupdate
|
||||
|
||||
__virtualname__ = "boto_vpc"
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__deprecated__ = (
|
||||
3009,
|
||||
"Potassium",
|
||||
"boto",
|
||||
"https://github.com/salt-extensions/saltext-boto"
|
||||
)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
|
|
Loading…
Add table
Reference in a new issue