Run :ref:`execution modules ` against batches of minions .. versionadded:: 0.8.4 Wraps :py:meth:`salt.client.LocalClient.cmd_batch` :return: Returns the result from the exeuction module for each batch of returns
(self, *args, **kwargs)
| 250 | return client.cmd_subset(*args, **kwargs) |
| 251 | |
| 252 | def local_batch(self, *args, **kwargs): |
| 253 | """ |
| 254 | Run :ref:`execution modules <all-salt.modules>` against batches of minions |
| 255 | |
| 256 | .. versionadded:: 0.8.4 |
| 257 | |
| 258 | Wraps :py:meth:`salt.client.LocalClient.cmd_batch` |
| 259 | |
| 260 | :return: Returns the result from the exeuction module for each batch of |
| 261 | returns |
| 262 | """ |
| 263 | with salt.client.get_local_client(mopts=self.opts) as client: |
| 264 | return client.cmd_batch(*args, **kwargs) |
| 265 | |
| 266 | def ssh(self, *args, **kwargs): |
| 267 | """ |