def wheel(self, fun, **kwargs): ''' Run :ref:`wheel modules <all-salt.wheel>` synchronously Wraps :py:meth:`salt.wheel.WheelClient.master_call`. :return: Returns the result from the wheel module ''' kwargs['fun'] = fun wheel = salt.wheel.WheelClient(self.opts) return wheel.cmd_sync(kwargs)
def wheel(self, fun, **kwargs): ''' Run :ref:`wheel modules <all-salt.wheel>` synchronously Wraps :py:meth:`salt.wheel.WheelClient.master_call`. :return: Returns the result from the wheel module ''' kwargs['fun'] = fun wheel = salt.wheel.WheelClient(self.opts) return wheel.cmd_sync(kwargs)
def wheel(self, fun, **kwargs): ''' Run :ref:`wheel modules <all-salt.wheel>` synchronously Wraps :py:meth:`salt.wheel.WheelClient.master_call`. Note that wheel functions must be called using keyword arguments. Positional arguments are not supported. :return: Returns the result from the wheel module ''' kwargs['fun'] = fun wheel = salt.wheel.WheelClient(self.opts) return wheel.cmd_sync(kwargs)
def wheel(self, fun, **kwargs): ''' Run :ref:`wheel modules <all-salt.wheel>` synchronously Wraps :py:meth:`salt.wheel.WheelClient.master_call`. Note that wheel functions must be called using keyword arguments. Positional arguments are not supported. :return: Returns the result from the wheel module ''' kwargs['fun'] = fun wheel = salt.wheel.WheelClient(self.opts) return wheel.cmd_sync(kwargs)