Add an introspection function to the salt minion

This commit is contained in:
Thomas S Hatch 2011-03-14 13:29:03 -06:00
parent 8f9016fa13
commit 86c637ffc2

View file

@ -63,6 +63,7 @@ class Minion(object):
continue
if callable(getattr(module, attr)):
functions[mod + '.' + attr] = getattr(module, attr)
functions['sys.list-functions'] = lambda: functions.keys()
print functions
return functions