@@ -0,0 +1,444 @@
+'''%0AModules used to control the master itself%0A'''%0A%0A# Import salt libs%0Aimport salt.loader%0Aimport salt.utils%0A%0A%0Adef call_func(func, opts, **kwargs):%0A    '''%0A    Execute a master control function%0A    '''%0A    w_funcs = salt.loader.wheels(opts)%0A    if not func in w_funcs:%0A        return 'Unknown wheel function'%0A    f_call = salt.utils.format_call(w_funcs%5Bfunc%5D, kwargs)%0A    return w_funcs%5Bfunc%5D(*f_call.get('args', ()), **f_call.get('kwargs', %7B%7D))%0A

Add wheel module system