mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 02:00:20 +00:00
Fix ssh tests
This commit is contained in:
parent
34ab8c732b
commit
66d8a33c88
2 changed files with 8 additions and 3 deletions
|
@ -890,7 +890,9 @@ def log_handlers(opts, loaded_base_name=None):
|
||||||
return FilterDictWrapper(ret, ".setup_handlers")
|
return FilterDictWrapper(ret, ".setup_handlers")
|
||||||
|
|
||||||
|
|
||||||
def ssh_wrapper(opts, functions=None, context=None, loaded_base_name=None):
|
def ssh_wrapper(
|
||||||
|
opts, functions=None, context=None, file_client=None, loaded_base_name=None
|
||||||
|
):
|
||||||
"""
|
"""
|
||||||
Returns the custom logging handler modules
|
Returns the custom logging handler modules
|
||||||
|
|
||||||
|
@ -908,7 +910,11 @@ def ssh_wrapper(opts, functions=None, context=None, loaded_base_name=None):
|
||||||
),
|
),
|
||||||
opts,
|
opts,
|
||||||
tag="wrapper",
|
tag="wrapper",
|
||||||
pack={"__salt__": functions, "__context__": context},
|
pack={
|
||||||
|
"__salt__": functions,
|
||||||
|
"__context__": context,
|
||||||
|
"__file_client__": file_client,
|
||||||
|
},
|
||||||
loaded_base_name=loaded_base_name,
|
loaded_base_name=loaded_base_name,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ import salt
|
||||||
import salt._logging
|
import salt._logging
|
||||||
import salt._logging.mixins
|
import salt._logging.mixins
|
||||||
import salt.config
|
import salt.config
|
||||||
import salt.loader
|
|
||||||
import salt.utils.files
|
import salt.utils.files
|
||||||
import salt.utils.path
|
import salt.utils.path
|
||||||
import salt.utils.platform
|
import salt.utils.platform
|
||||||
|
|
Loading…
Add table
Reference in a new issue