salt-run myrunner.function arg1 arg2 127.0.0.1salt-call publish.runner myrunner.function 'arg1,arg2,127.0.0.1' timeout=300
salt-call publish.runner myrunner.function 'arg1 arg2 127.0.0.1' timeout=300
salt-call publish.runner myrunner.function arg1 arg2 127.0.0.1 timeout=300
salt-call publish.runner myrunner.function arg='arg1','arg2','127.0.0.1' timeout=300
salt-call publish.runner myrunner.function arg=['arg1','arg2','127.0.0.1'] timeout=300
salt-call publish.runner myrunner.function arg="['arg1','arg2','127.0.0.1']" timeout=300
2015-03-17 17:23:13,828 [salt.master ][ERROR ] Error in function minion_runner:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/salt/master.py", line 1336, in run_func ret = getattr(self, func)(load) File "/usr/local/lib/python2.7/dist-packages/salt/master.py", line 1206, in minion_runner return self.masterapi.minion_runner(clear_load) File "/usr/local/lib/python2.7/dist-packages/salt/daemons/masterapi.py", line 803, in minion_runner return runner.run() File "/usr/local/lib/python2.7/dist-packages/salt/runner.py", line 234, in run self.opts['fun'], self.opts['arg'], self.opts) File "/usr/local/lib/python2.7/dist-packages/salt/runner.py", line 123, in cmd return self.functions[fun](*args, **kwargs)TypeError: restore() takes exactly 3 arguments (1 given)
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
peer_run:
myhost*:
- myrunner.*
salt-call publish.runner mycoolrunner.dostuff 'launch_codes,gps_coordinates'
def dostuff(arg)
codes, gps = arg.split(',')
# ... fire le missiles