summaryrefslogtreecommitdiffstats
path: root/overlord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved code under the func namespace.Devan Goodwin2007-10-021-295/+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-021-9/+27
|
* 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-021-76/+52
|/ | | | | | | 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-291-1/+1
|
* 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-271-6/+12
|
* 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-261-3/+0
|
* The addition of an example program to find which systems have parts subject ↵Michael DeHaan2007-09-261-8/+7
| | | | to recall.
* 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-261-9/+27
|/ | | | | | | | 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.
* Two things. First Client("*").hardware.info() and the like now works, due ↵Michael DeHaan2007-09-261-9/+60
| | | | 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.
* Adding client module, which contains code for both the CLI and thoseMichael DeHaan2007-09-251-0/+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.