Skip to content

Instantly share code, notes, and snippets.

@nafg

nafg/output.txt Secret

Created March 3, 2017 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nafg/5fc7150c52d661d91b56ae68323947ec to your computer and use it in GitHub Desktop.
Save nafg/5fc7150c52d661d91b56ae68323947ec to your computer and use it in GitHub Desktop.
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'
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