mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #25873 from rallytime/bp-25855
Back-port #25855 to 2015.5
This commit is contained in:
commit
66dcc5525e
1 changed files with 6 additions and 0 deletions
|
@ -558,6 +558,12 @@ def runner(name, **kwargs):
|
|||
The name of the function to run
|
||||
kwargs
|
||||
Any keyword arguments to pass to the runner function
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
run-manage-up:
|
||||
salt.runner:
|
||||
- name: manage.up
|
||||
'''
|
||||
ret = {'name': name, 'result': False, 'changes': {}, 'comment': ''}
|
||||
out = __salt__['saltutil.runner'](name, **kwargs)
|
||||
|
|
Loading…
Add table
Reference in a new issue