Created
October 7, 2013 10:25
-
-
Save oc/6865687 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: - service | |
Name: tomcat6 | |
Function: running | |
Result: False | |
Comment: An exception occurred in this state: Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1237, in call | |
self.check_refresh(data, ret) | |
File "/usr/lib/python2.7/dist-packages/salt/states/service.py", line 275, in running | |
ret = _available(name, ret) | |
File "/usr/lib/python2.7/dist-packages/salt/states/service.py", line 243, in _available | |
ret['available'] = name in __salt__['service.get_all']() | |
File "/usr/lib/python2.7/dist-packages/salt/modules/debian_service.py", line 91, in get_all | |
return sorted(ret | set(get_enabled())) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/debian_service.py", line 53, in get_enabled | |
prefix = '/etc/rc[S{0}].d/S'.format(_get_runlevel()) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/debian_service.py", line 31, in _get_runlevel | |
out = __salt__['cmd.run']('runlevel') | |
File "/usr/lib/python2.7/dist-packages/salt/modules/cmdmod.py", line 489, in run | |
reset_system_locale=reset_system_locale)['stdout'] | |
File "/usr/lib/python2.7/dist-packages/salt/modules/cmdmod.py", line 340, in _run | |
proc = salt.utils.timed_subprocess.TimedProc(cmd, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/utils/timed_subprocess.py", line 20, in __init__ | |
self.stdin = self.stdin.replace('\\n', '\n') | |
TypeError: __init__() got an unexpected keyword argument 'with_communicate' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment