| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
func/overlord/base_command.py: add support for reading the port from
the minion.conf file. This may need to be changed if we want to support
each minion having a different port number.
func/overlord/cmd_modules/call.py: The commandline options were overriding the
default values in base_command for async/verbose/etc. The commandline
options have been changed to get there defaults from the baseclass now.
This was also causing func cli to default to async mode.
func/overlord/cmd_modules/check.py: updated to reflect that
the port numbers are not hardcoded now
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Trying to make sure things are clean for func-transmit. At some
point, this should probably be some sort of log object instead
of just to stderr.
|
|
|
|
|
|
|
| |
also missed a use of SSLCommon.
darn grep, must be broken. Yeah, thats it, grep screw up. Nope, not
me. Not me at all.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
func.spec
func/minion/modules/certmastermod.py
setup.py
|
| | |
|
| | |
|
| |
| |
| |
| | |
from command line.
|
| |
| |
| |
| |
| |
| |
| | |
make "func help" work again. Sorta. It's better, but it's still not right. At
least it doesnt traceback now.
remove a spurious debug statement in the command parser
|
|/
|
|
| |
we get one
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
commandline module.
Probably needs to get revisited at some point, since being able to use the
api's the cmdline module expose could be useful, and printing directly like
this is a bit odd.
The above changes fix --json/--raw/--xmlrpc output for "call"
|
|
|
|
|
| |
update the cmd_modules/* classes accordingly
also cleanup some imports in the cmd_modules/* classes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This class adds data about the default settings for the
Overlord class that the various cmd_module classes were
hardcoding, notable DEFAULT_PORT.
update all the cmd_modules/* classes to use the new
BaseCommand class. Remove any DEFAULT_PORT references.
Also remove the ill advised --port option some of them
had, since this doesnt really make much sense.
Progress on https://fedorahosted.org/func/ticket/31
|
|
|
|
|
|
|
| |
works but will dive a deprecation warning.
First pass at this refactor. I think just about everything has been updated, but
some questions remain. Like if client.py needs a name change.
|
| |
|
| |
|
|
|
|
| |
This can be wired up to other modules as well, but I've only added it to "call" for now. To use it, pass in the option --forks=N, ex --forks=3 on the command line as an option to "call". The default is forks==1 which completely bypasses the fork code, just to ensure we don't break anything using the Func API that might not like it. (However I'm pretty sure it would be fine).
|
|
|
|
|
|
| |
raw output that just
uses Python print.
|
|
|
|
|
|
| |
file, it's perms, and call the remote end correctly
add copyright blurb to other modules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|