mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
fix missed syntax error in state ssh wrapper
This commit is contained in:
parent
8511e5403b
commit
bb24bfd560
@ -62,7 +62,7 @@ def sls(mods, env='base', test=None, exclude=None, **kwargs):
|
||||
return json.loads(stdout, object_hook=salt.utils.decode_dict)
|
||||
|
||||
|
||||
def low(data, test=False):
|
||||
def low(data):
|
||||
'''
|
||||
Execute a single low data call
|
||||
This function is mostly intended for testing the state system
|
||||
@ -85,7 +85,7 @@ def low(data, test=False):
|
||||
file_refs)
|
||||
single = salt.client.ssh.Single(
|
||||
__opts__,
|
||||
'state.pkg /tmp/salt_state.tgz test={0}'.format(test),
|
||||
'state.pkg /tmp/salt_state.tgz',
|
||||
**__salt__.kwargs)
|
||||
single.shell.send(
|
||||
trans_tar,
|
||||
@ -114,7 +114,7 @@ def high(data):
|
||||
file_refs)
|
||||
single = salt.client.ssh.Single(
|
||||
__opts__,
|
||||
'state.pkg /tmp/salt_state.tgz test={0}'.format(test),
|
||||
'state.pkg /tmp/salt_state.tgz',
|
||||
**__salt__.kwargs)
|
||||
single.shell.send(
|
||||
trans_tar,
|
||||
|
Loading…
Reference in New Issue
Block a user