mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
1ae022dbfe
commit
bc780a7c25
4 changed files with 7 additions and 7 deletions
|
@ -62,9 +62,9 @@ def __virtual__():
|
|||
return True
|
||||
|
||||
|
||||
def __init__(opts, pack=None):
|
||||
def __init__(opts):
|
||||
if HAS_BOTO:
|
||||
__utils__['boto.assign_funcs'](__name__, 'cfn', module='cloudformation', pack=pack)
|
||||
__utils__['boto.assign_funcs'](__name__, 'cfn', module='cloudformation', pack=__salt__)
|
||||
|
||||
|
||||
def exists(name, region=None, key=None, keyid=None, profile=None):
|
||||
|
|
|
@ -77,7 +77,7 @@ def __virtual__():
|
|||
return True
|
||||
|
||||
|
||||
def __init__(opts, pack=None):
|
||||
def __init__(opts):
|
||||
salt.utils.compat.pack_dunder(__name__)
|
||||
if HAS_BOTO:
|
||||
__utils__['boto.assign_funcs'](__name__, 'kms', pack=__salt__)
|
||||
|
|
|
@ -85,10 +85,10 @@ def __virtual__():
|
|||
return True
|
||||
|
||||
|
||||
def __init__(opts, pack=None):
|
||||
def __init__(opts):
|
||||
salt.utils.compat.pack_dunder(__name__)
|
||||
if HAS_BOTO:
|
||||
__utils__['boto.assign_funcs'](__name__, 'route53', pack=pack)
|
||||
__utils__['boto.assign_funcs'](__name__, 'route53', pack=__salt__)
|
||||
|
||||
|
||||
def _get_split_zone(zone, _conn, private_zone):
|
||||
|
|
|
@ -125,10 +125,10 @@ def __virtual__():
|
|||
return True
|
||||
|
||||
|
||||
def __init__(opts, pack=None):
|
||||
def __init__(opts):
|
||||
salt.utils.compat.pack_dunder(__name__)
|
||||
if HAS_BOTO:
|
||||
__utils__['boto.assign_funcs'](__name__, 'vpc', pack=pack)
|
||||
__utils__['boto.assign_funcs'](__name__, 'vpc', pack=__salt__)
|
||||
|
||||
|
||||
def _check_vpc(vpc_id, vpc_name, region, key, keyid, profile):
|
||||
|
|
Loading…
Add table
Reference in a new issue