Skip to content

Commit

Permalink
Add loader.utils() example to calling minion_mods (#33953)
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteinge authored and Nicole Thomas committed Jun 11, 2016
1 parent 6b98e8a commit cf6281b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion salt/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def minion_mods(
__opts__ = salt.config.minion_config('/etc/salt/minion')
__grains__ = salt.loader.grains(__opts__)
__opts__['grains'] = __grains__
__salt__ = salt.loader.minion_mods(__opts__)
__utils__ = salt.loader.utils(__opts__)
__salt__ = salt.loader.minion_mods(__opts__, utils=__utils__)
__salt__['test.ping']()
'''
if context is None:
Expand Down

0 comments on commit cf6281b

Please sign in to comment.