def mmodule(saltenv, fun, *args, **kwargs):
 mminion = _MMinion(saltenv)
 return mminion.functions[fun](*args, **kwargs)

def mmodule ( saltenv , fun , * args , ** kwargs ) : mminion = _MMinion ( saltenv ) return mminion . functions [ fun ] ( * args , ** kwargs )
loads minion modules from an environment so that they can be used in pillars for that environment cli example: .