mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #4019 from halaharvi/develop
Fixing Salt Runners documentation
This commit is contained in:
commit
312720063f
@ -46,7 +46,7 @@ responding to Salt calls would look like this:
|
||||
'''
|
||||
Print a list of all of the minions that are up
|
||||
'''
|
||||
client = salt.client.LocalClient(__opts__['config'])
|
||||
client = salt.client.LocalClient(__opts__['conf_file'])
|
||||
minions = client.cmd('*', 'test.ping', timeout=1)
|
||||
for minion in sorted(minions):
|
||||
print minion
|
||||
|
Loading…
Reference in New Issue
Block a user