From bb24bfd5602a0d85b0b65b27cc8305cec548f92f Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Sat, 7 Sep 2013 23:07:45 -0600 Subject: [PATCH] fix missed syntax error in state ssh wrapper --- salt/client/ssh/wrapper/state.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salt/client/ssh/wrapper/state.py b/salt/client/ssh/wrapper/state.py index 8e31a88f40..7e9cb4fa57 100644 --- a/salt/client/ssh/wrapper/state.py +++ b/salt/client/ssh/wrapper/state.py @@ -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,