| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
still more to do.
|
|
|
|
|
|
|
| |
a touch more OO. Also update unittests/etc.
Did some s/servers/minions/ renaming while I was at it as well. Need
to go back and finish that up.
|
|
|
|
| |
add license blob and #! line
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
which can be used to see
what servers are contactable from the command line for any given operation, without needing to run
an otherwise meaningful command on them. Note that it does try to contact each server before showing
results, so ideally we should provide a method in the client class to get the system list and create
the client objects seperately for each contact, so output can stream back one line at a time. TBA.
|
|
|
|
|
|
|
|
|
| |
So now it also respects the hostnamegoo glob, so you
can use it to test glob patterns
func "*.redhat.com" list_minions
will show all the minions that match that pattern
|
| |
|
|
|
|
|
|
|
| |
command.py: move the parse args stuff to before we call
subcommands
func_command.py: include the copyfile classes so we can use them
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
command.Command. Use this to fetch the hostnamegoo
client.py: pull out expand_servers to module scope,
and isServer(). This method basically tries to see
if what we think is hostnamegoo is actually hostnamegoo.
Kind of a guess atm.
cmd_modules/call.py: change this so it doesn't do it's
own parsing out of the hostname goo, instead using that
from func_command (aka, the top level command parser)
cmd_modules/show.py: just a cmd line module in early
development
|
|
add it to the setup
use new func_command module for base class of commands
move Call class to cmd_modules/call
update scripts/func to use new commandline class
|