summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add a system.list_modules method that returns a list of all the modulesAdrian Likins2007-09-272-4/+9
| | | | | | | | add a MODULE.list_methods that returns a list of all the methods for a module note that these kind of crisscross system.listMethods, but tis okay
* move logger and config_data to func/funcAdrian Likins2007-09-276-12/+165
| | | | | | | | | | | 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)
* more targetsAdrian Likins2007-09-271-1/+15
| | | | | make install_hardest does a clean_hardest (removes everything, and the rpm) then builds an rpm, installs it, and starts up the daemons
* add clean_hard, clean_harder that removes the site-packages/func tree entirely,Adrian Likins2007-09-271-1/+17
| | | | | | | | and removes /etc/pki/func, /var/lib/func, and /etc/func add corresponing install_hard, install_harder add "recombuild" target that does a install_harder, and restarts the services
* don't autosign by defaultSeth Vidal2007-09-271-1/+1
|
* - certs.py: write keys out as mode 600Seth Vidal2007-09-274-5/+10
| | | | | - make sure we setup the config dict immediately in config_data - clean up our config, pki and var dirs on removal
* cert's are stored as .cert not as .pem so we weren't finding any minionsSeth Vidal2007-09-261-1/+1
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-09-2615-27/+9
|\ | | | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: Remove assorted unused imports added changelog comment removed Require: on yum-util
| * Remove assorted unused importsJames Bowes2007-09-2614-26/+6
| |
| * added changelog commentJesus M. Rodriguez2007-09-261-0/+3
| |
| * removed Require: on yum-utilJesus M. Rodriguez2007-09-261-1/+0
| |
* | minion.conf,config_data.py: add certmaster and cert_dir configSeth Vidal2007-09-264-12/+16
|/ | | | utils.py: make it use the config object
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-09-261-0/+33
|\ | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: Add simple command module for executing arbitrary commands
| * Add simple command module for executing arbitrary commandsJames Bowes2007-09-261-0/+33
| |
* | make minion create its keys and get the cert from the certmaster on startupSeth Vidal2007-09-262-4/+79
|/
* Fix import paths.Michael DeHaan2007-09-261-2/+2
|
* don't need this warning now, we ssl by defaultAdrian Likins2007-09-261-14/+0
|
* Import from minion, not serverJames Bowes2007-09-261-2/+2
|
* Fix OsError tyopJames Bowes2007-09-261-1/+1
|
* Added demo script for checking smart status across all systems and showingMichael DeHaan2007-09-261-0/+26
| | | | extended output only for systems that have problems.
* Updated the hardware module so that it's usable if smolt isn't installed. ↵Michael DeHaan2007-09-261-3/+7
| | | | | | The info() function won't work but hal_info() still should.
* Refine the bad hardware checker -- this time it detects my potentially ↵Michael DeHaan2007-09-264-11/+40
| | | | | | exploding (but now ruled safe) battery correctly.
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-266-15/+135
|\
| * update specfile and version and setup for certmaster-caSeth Vidal2007-09-263-2/+3
| |
| * make it so it doesn't exit when it returns the cert to the clientSeth Vidal2007-09-261-3/+3
| |
| * Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-09-268-58/+183
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: missed an import somewhere, fix Generalize test code. Merge with alikins. Adding a noglobs=True/False parameter to the client. When set to True, the return codes assume use the FuncServer class from sslclient instead of the Enable ssl cert useage by default for funcd Add gitignore for compressed man pages in docs Two things. First Client("*").hardware.info() and the like now works, due 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. add a simple FuncServer class that sets up most of the pki related bits requires pyOpenSSL otherwise certmaster won't start
| | * Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-09-262-13/+32
| | |\
| | * | missed an import somewhere, fixAdrian Likins2007-09-261-0/+1
| | | |
| * | | certmaster-ca added for signing csrs manuallySeth Vidal2007-09-262-11/+129
| | | | | | | | | | | | | | | | added sign/list capabilities into certmaster since we can use the same object for both
* | | | The addition of an example program to find which systems have parts subject ↵Michael DeHaan2007-09-264-11/+47
| | | | | | | | | | | | | | | | to recall.
* | | | Move packagekit module to contrib directory since the code required to use ↵Michael DeHaan2007-09-261-0/+0
| |_|/ |/| | | | | | | | | | | | | | | | | it is not in any version of Fedora quite yet and we don't want to answer the user questions about the import errors :) Can move back in once it's all good.
* | | 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-264-40/+68
|\ \ \ | | |/ | |/|
| * | use the FuncServer class from sslclient instead of theAdrian Likins2007-09-261-1/+5
| | | | | | | | | | | | | | | | | | non-ssl xmlrpclib.ServerProxy aka, enabled ssl support
| * | Enable ssl cert useage by default for funcdAdrian Likins2007-09-262-39/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add a FuncSSLXMLRPCServer that is based on the AuthedXMLRPCServer.AuthedSSLXMLRPCServer add bits to pull out cert CN and cert CN hash and add it to the audit log bits update logger.py to understand this Some minor refactoring in server.py (use XmlRpcInterface as a baseclass inherited into FuncSSLXMLRPCServer)
| * | Add gitignore for compressed man pages in docsJames Bowes2007-09-261-0/+2
| | |
* | | 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 git://git.fedoraproject.org/git/hosted/funcJesus M. Rodriguez2007-09-263-11/+84
|\ \
| * \ Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-269-24/+140
| |\ \
| | * | 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.
* | | requires pyOpenSSL otherwise certmaster won't startJesus M. Rodriguez2007-09-262-1/+5
| |/ |/|
* | Use non-ugly gitweb url in READMEJames Bowes2007-09-251-1/+1
| |
* | move code.py and utils.py to func/Adrian Likins2007-09-254-6/+82
| | | | | | | | update scripts/funcd and func/certmaster to use them
* | '' doesnt work, since it thinks the hostname is ''Adrian Likins2007-09-251-1/+1
| | | | | | | | | | maybe we could special case this in the code, but this makes the default at least work for now
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-09-258-15/+112
|\|
| * Adding manpages and misc spec/build cleanupMichael DeHaan2007-09-258-15/+112
| |
* | fix up the wrapper scripts so that --daemon works correctly, and soAdrian Likins2007-09-253-16/+41
|/ | | | the init scripts also work correctly
* Renaming configuration file to 'minion.conf' and changing setup.py and ↵Michael DeHaan2007-09-253-21/+4
| | | | specfiles to understand.