-
-
Save nafg/5fc7150c52d661d91b56ae68323947ec to your computer and use it in GitHub Desktop.
This file contains 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
ID: salt-master service | |
Function: cmd.run | |
Name: echo service salt-master restart | at now + 1 minute | |
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 1746, in call | |
**cdata['kwargs']) | |
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1703, in wrapper | |
return f(*args, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/states/cmd.py", line 845, in run | |
name, timeout=timeout, python_shell=True, **cmd_kwargs | |
TypeError: run_all() got multiple values for keyword argument 'python_shell' |
This file contains 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
salt-master service: | |
cmd.run: | |
- name: echo service salt-master restart | at now + 1 minute | |
- python_shell: True | |
- order: last | |
- onchanges: | |
- /etc/salt/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment