-
-
Save auser/5954380 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- | |
State: - cmd | |
Name: /tmp/SumoCollector_linux_amd64_19_47-5.sh | |
Function: script | |
Result: False | |
Comment: An exception occurred in this state: Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/salt/state.py", line 1238, in call | |
*cdata['args'], **cdata['kwargs']) | |
File "/usr/lib/pymodules/python2.7/salt/states/cmd.py", line 630, in script | |
run_check_cmd_kwargs, onlyif, unless, group | |
File "/usr/lib/pymodules/python2.7/salt/states/cmd.py", line 228, in _run_check | |
if __salt__['cmd.retcode'](unless, **cmd_kwargs) == 0: | |
File "/usr/lib/pymodules/python2.7/salt/modules/cmdmod.py", line 655, in retcode | |
timeout=timeout)['retcode'] | |
File "/usr/lib/pymodules/python2.7/salt/modules/cmdmod.py", line 317, in _run | |
proc = salt.utils.timed_subprocess.TimedProc(cmd, **kwargs) | |
File "/usr/lib/pymodules/python2.7/salt/utils/timed_subprocess.py", line 20, in __init__ | |
self.process = subprocess.Popen(args, stdin=subprocess.PIPE, **kwargs) | |
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ | |
errread, errwrite) | |
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child | |
raise child_exception | |
TypeError: coercing to Unicode: need string or buffer, dict found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SumoCollector_linux_amd64_19_47-5.sh: | |
cmd.script: | |
- name: /tmp/SumoCollector_linux_amd64_19_47-5.sh | |
- args: -q | |
- cwd: /tmp | |
- unless: | |
- file: /opt/SumoCollector | |
- require: | |
- file: /tmp/SumoCollector_linux_amd64_19_47-5.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment