Awesome! IMO, this should be an official tool included with salt.
salt-shell?
--
Dave
On 7/18/13 1:31 AM, Stevearc wrote:
> I occasionally found myself wanting to run some command like 'ls' or
> 'cat' or 'netstat' on a bunch of servers at once, but it was a bit
> annoying to do:
>
> salt -G 'roles:webserver' cmd.run "cat /etc/myapp/some_config_file.yaml"
>
> So I wrote a short little python script
> <
https://gist.github.com/stevearc/6027355> that makes salt's cmd.run
> module more interactive. If nothing else, it's fun to play with.
> --
> 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/groups/opt_out.
>
>