summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Moved code under the func namespace.Devan Goodwin2007-10-0213-938/+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.
* changed more class defs to use (object) instead of () so it works onJesus M. Rodriguez2007-10-011-1/+1
| | | | python 2.3 and 2.4.
* Fix bad indentation in minion, modules and overlordJames Bowes2007-09-293-8/+8
|
* Remove unused importsJames Bowes2007-09-281-1/+0
|
* Make the command module use subprocess to capture stdin/stdout and return ↵Michael DeHaan2007-09-281-1/+9
| | | | them to the caller.
* config crap in one file so we don't have recursive/impossible imports, I hopeSeth Vidal2007-09-271-1/+1
|
* really nice if I'd stop dropping 'i' out of config_fileSeth Vidal2007-09-271-4/+5
|
* add a system.list_modules method that returns a list of all the modulesAdrian Likins2007-09-271-2/+3
| | | | | | | | 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-271-2/+8
| | | | | | | | | | | 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)
* Remove assorted unused importsJames Bowes2007-09-262-2/+0
|
* Add simple command module for executing arbitrary commandsJames Bowes2007-09-261-0/+33
|
* Fix import paths.Michael DeHaan2007-09-261-2/+2
|
* Import from minion, not serverJames Bowes2007-09-261-2/+2
|
* 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-261-1/+31
| | | | | | exploding (but now ruled safe) battery correctly.
* Move packagekit module to contrib directory since the code required to use ↵Michael DeHaan2007-09-261-92/+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.
* add stuff for specify a mode/uid/gid and a "force" just forAdrian Likins2007-09-251-2/+13
| | | | kicks
* catch some potentially bad args to the process.kill methodAdrian Likins2007-09-251-2/+11
| | | | | We don't want empty args to end up killing the calling process, aka, funcd, so we filter those out.
* Be a bit more paranoid about sub processes. BeforeAdrian Likins2007-09-251-3/+6
| | | | | | | | we could just send "aux; some_arbitrary_command_here" and "some_arbitrary_command_here" would get executed. Also, for some reason, if we send process.kill just one argument, it kills funcd dead. I'm not sure why currently
* 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
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-09-251-0/+92
|\
| * Merge branch 'master' of git://git.fedoraproject.org/git/hosted/funcRobin Norwood2007-09-245-12/+69
| |\
| * | Initial module for PackageKit support. Requires very-latest-from-git ↵Robin Norwood2007-09-241-0/+92
| | | | | | | | | | | | PackageKit.
* | | pyflakes cleanupsAdrian Likins2007-09-246-13/+4
| |/ |/| | | | | | | | | | | mostly just removing unused modules change "from codes import *" to "import codes" in a couple places and updated accordingly
* | Package the subprocess module so that we can use it on EL4.Michael DeHaan2007-09-245-13/+13
| |
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-242-1/+25
|\|
| * add some simple support for base object methodsAdrian Likins2007-09-242-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | add "module_version", "module_api_version" and "module_description" as base object methods. All classes based on func_module should get this. modules should set a self.version, self.api_version, self.description with approriate values. class or instance variables both work. If values aren't set, defaults are provided. alternativelt, the modules can implement and export "module_version", "module_api_version", and "module_description" themself if they like
* | Basic plugin for checking SMART status on drives.Michael DeHaan2007-09-241-2/+1
| |
* | Add basic module for checking smart status of drives.Michael DeHaan2007-09-241-0/+58
| |
* | Remove header from ps outputMichael DeHaan2007-09-241-1/+1
|/
* Rename yummod as yum so each module doesn't end up ending in mod :)Michael DeHaan2007-09-211-0/+0
|
* Added kill and pkill to the process moduleMichael DeHaan2007-09-211-1/+12
|
* Process module. Accepts flags to PS, returns nicely formatted tabular output.Michael DeHaan2007-09-211-0/+57
|
* Added a smolt-based hardware profiler module.Michael DeHaan2007-09-211-0/+100
|
* Remove underscores from exported function names as they are now redundant.Michael DeHaan2007-09-215-17/+17
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-09-211-5/+5
|\
| * Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-212-0/+152
| |\
| * | Fix up virt code some more.Michael DeHaan2007-09-211-5/+5
| | |
* | | change to module loader to allow subdirs in the module path.Adrian Likins2007-09-211-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also implies that methods calls need a module as well (aka, you now have to call test.test_add instead of just test_add) but this also means you can setup modules/foo/bar/blip.py and blip.py exports a "do_blippy" method, which you would call by the name foo.bar.blip.do_blippy() Note, any subdir that has module files in it, will need an approriate __init__.py file. server.py, func_module.py: To do the above, we need to pass in the module_name to the register function, so we can associate it correctly. server.py also got a fix for a FuncException that needed tobe codes.FuncException
* | copyfile routine to push files quasi-intelligentlySeth Vidal2007-09-211-0/+104
| |
* | Add yum moduleJames Bowes2007-09-211-0/+48
|/ | | | Only updating supported right now.
* Misc fixes to the virt management module.Michael DeHaan2007-09-211-10/+9
|
* fix typoRobin Norwood2007-09-211-1/+1
|
* use the right moduleSeth Vidal2007-09-211-1/+1
|
* Missed reboot.py when renaming web_svc to func_module.Michael DeHaan2007-09-211-2/+2
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-211-0/+29
|\
| * Add reboot moduleJames Bowes2007-09-201-0/+29
| |
* | Rename web_svc as func_module.Michael DeHaan2007-09-214-21/+12
|/
* Add virt module.Michael DeHaan2007-09-201-0/+276
|
* Implement a quickie service control moduleMichael DeHaan2007-09-201-0/+60
|