summaryrefslogtreecommitdiffstats
path: root/overlord
Commit message (Collapse)AuthorAgeFilesLines
* Moved code under the func namespace.Devan Goodwin2007-10-026-709/+0
| | | | | | Previously we had overlord, minion, modules, and func all at the root of the source tree. After install these would all be shuffled below func. Relocated them in the source tree to reflect this.
* Exit program after listing minions.Devan Goodwin2007-10-021-16/+1
|
* Added func --list-minions option.Devan Goodwin2007-10-022-9/+32
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-10-021-4/+2
|\ | | | | | | | | | | Conflicts: overlord/client.py
| * changed more class defs to use (object) instead of () so it works onJesus M. Rodriguez2007-10-011-3/+3
| | | | | | | | python 2.3 and 2.4.
* | add command.py from MOAP http://thomas.apestaart.org/moap/tracAdrian Likins2007-10-022-76/+322
|/ | | | | | | convert client.py to use it Note this changes the current commandline to need a "call" subcommand to call an rpc method directly.
* Fix indentation error in overlord/client.py.Devan Goodwin2007-09-291-140/+148
| | | | Also normalized indentation to 4-spaces per level, and wrapped a few 80+ character lines.
* Fix bad indentation in minion, modules and overlordJames Bowes2007-09-292-20/+20
|
* Remove unused importsJames Bowes2007-09-281-1/+0
|
* Add pretty printing for output, also remove an unused constant.Michael DeHaan2007-09-281-6/+3
|
* certs are named .cert not .crt so when we remove the extension it is ↵Seth Vidal2007-09-271-1/+1
| | | | string[:-5] not string[:-4]
* and overlord, tooSeth Vidal2007-09-271-1/+1
|
* modify func/overlord to read config from certmaster and use config.pySeth Vidal2007-09-272-15/+15
|
* move logger and config_data to func/funcAdrian Likins2007-09-271-4/+11
| | | | | | | | | | | update modules that need new location modules/func_module.py: update to use new logger/config locations, also go ahead and register as a real module, to shut up the start up. It shouldn't hurt anything Some minor import reordering at a couple places (I try to keep at least system import alphabetical)
* cert's are stored as .cert not as .pem so we weren't finding any minionsSeth Vidal2007-09-261-1/+1
|
* Remove assorted unused importsJames Bowes2007-09-263-5/+0
|
* Refine the bad hardware checker -- this time it detects my potentially ↵Michael DeHaan2007-09-261-1/+2
| | | | | | exploding (but now ruled safe) battery correctly.
* The addition of an example program to find which systems have parts subject ↵Michael DeHaan2007-09-262-11/+11
| | | | to recall.
* Generalize test code.Michael DeHaan2007-09-261-3/+4
|
* Merge with alikins.Michael DeHaan2007-09-261-5/+3
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-261-1/+5
|\
| * use the FuncServer class from sslclient instead of theAdrian Likins2007-09-261-1/+5
| | | | | | | | | | | | non-ssl xmlrpclib.ServerProxy aka, enabled ssl support
* | Adding a noglobs=True/False parameter to the client. When set to True, the ↵Michael DeHaan2007-09-262-10/+30
|/ | | | | | | | return codes assume the server specification is NOT a glob and return a single value instead of a hash. This minimizes code when needing to address only one system at a time. The command line will always assume globs are possible and will not use this shortcut.
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-261-2/+17
|\
| * add a simple FuncServer class that sets up most of the pki related bitsAdrian Likins2007-09-261-2/+17
| | | | | | | | | | | | to reasonable defaults. No idea if this actually works at the moment.
* | Two things. First Client("*").hardware.info() and the like now works, due ↵Michael DeHaan2007-09-262-9/+67
|/ | | | to some clever magic with getattr. You have one client object that can address multiples and returns a hash with the results for each machine. Second, results are hashes, not lists, and we are a bit more clever in returning a return code the CLI .. the highest int wins if there's an int, for instance. Still, return codes are relatively meaningless for multi-control ... the true power is in scripting things.
* Adds globbing support for hosts on the command line. If you have not yet usedMichael DeHaan2007-09-251-7/+24
| | | | | certmaster/funcd to generate certs, you will now need them in order to use the client for testing.
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-252-0/+63
|\
| * couple of utility makefilesAdrian Likins2007-09-251-0/+19
| | | | | | | | | | mainly just so I can type "make clean" before "git status" but also includes targets for pychecker and pyflakes
| * move files for the new naming schemeSeth Vidal2007-09-251-0/+44
| |
* | Adding client module, which contains code for both the CLI and thoseMichael DeHaan2007-09-252-50/+223
|/ | | | | | that want to script against func. Placeholders are there for globbing of multiple certs, and places are also marked where we need to add SSL.
* Renamed server to minion and client to overlordRobin Norwood2007-09-253-0/+101