summaryrefslogtreecommitdiffstats
path: root/func
Commit message (Collapse)AuthorAgeFilesLines
* Add httpd module. Can return information from mod_status and do graceful ↵HEADhttpdJohn Eckersberg2009-02-201-0/+67
| | | | service restart.
* add a sys.excepthook handler that logs to the func log fileAdrian Likins2009-02-121-0/+16
| | | | Fix ticket https://fedorahosted.org/func/ticket/70
* Added author, version and api_version docstrings.Jasper Capel2009-02-032-4/+12
|
* Added pydoc formatted documentation strings for bridge module.Jasper Capel2009-02-031-28/+128
|
* Forgot to add pydoc description to vlan module.Jasper Capel2009-02-031-0/+4
|
* Added pydoc formatted documentation strings for vlan module.Jasper Capel2009-02-031-14/+66
|
* fixed typo in vlan moduleJasper Capel2009-02-021-1/+1
|
* vlan module: have it use a config file for some configurable parameters ↵Jasper Capel2009-02-021-20/+23
| | | | instead of hardcoding them
* bridge module: some values weren't read from config yet, fixed.Jasper Capel2009-02-021-11/+11
|
* bridge module: imported the required modules for the configfile stuffJasper Capel2009-02-021-10/+7
|
* Changed the bridge module so it will use a config file.Jasper Capel2009-02-021-16/+18
|
* Set bridge forwarding delay to '0', so it will actually work.Jasper Capel2009-02-021-1/+3
|
* Merge branch 'no_poundbang'Adrian Likins2009-01-198-11/+2
|\
| * remove any unneeded "/usr/bin/python" lines from scripts so it'sAdrian Likins2009-01-199-11/+2
| | | | | | | | a little easier to change it if we need to.
| * remove 'x' bitAdrian Likins2009-01-191-0/+0
| |
* | Just some permissions clean up on source files, mostlyAdrian Likins2009-01-1919-0/+0
|/ | | | removing 'x' bits on source code and makefiles
* move rpm/yum initiation to after module import to workaround rpm bugAdrian Likins2009-01-082-2/+4
| | | | See https://bugzilla.redhat.com/show_bug.cgi?id=476737
* add new test methods used by unittests. return an empty exceptionAdrian Likins2008-12-111-0/+9
|
* * Added close_fds=True to sub_process calls.Silas Sewell2008-11-2512-18/+23
|
* * Enabled shell for Command module.Silas Sewell2008-11-251-9/+3
| | | | * Removed unnecessary if statement.
* remove unused imports and reorder remaining onesAdrian Likins2008-11-131-4/+1
|
* add support for untrack lists of files (or file globs)Adrian Likins2008-11-131-2/+3
|
* typo found for file_name_globs by pycheckerAdrian Likins2008-11-131-1/+1
|
* more func.utils/certmaster.utils changes.Adrian Likins2008-11-131-3/+3
| | | | | Module was using the wrong utils module and calling methods that didnt exist in the func one.
* more func.utils/certmaster.utils changes.Adrian Likins2008-11-131-2/+2
| | | | Fallout from the certmaster split.
* jbothing.py had a couple of cases of using the wrong "utils" module.Adrian Likins2008-11-131-7/+8
| | | | | | Fix and update. Also reorder the imports little bit. Just style changes.
* Make ping subcommand use the default verbose setting if not specified.Adrian Likins2008-11-121-0/+1
|
* Split Show() and ShowHardware() classes into two seperate modules.Adrian Likins2008-11-122-42/+67
| | | | | | | This is because module_loader currently only understands how to load one class per module. That should probabaly be fixed as well. See https://fedorahosted.org/func/ticket/61
* Add support for configuring funcd ports.Adrian Likins2008-11-123-8/+31
| | | | | | | | | | | | | | 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
* For some reason, Client is getting init'ed with async=NoneAdrian Likins2008-11-111-3/+6
| | | | | | | which is wrong. So workaround that. The real problem seems to be somewhere in base_command, but this will prevent it from defaulting to async for now.
* typo in the method args description in filetracker moduleAdrian Likins2008-11-111-2/+2
| | | | Missed these when the glob support was added to filetracker.
* add some tests cases for copyfileAdrian Likins2008-11-101-0/+1
|
* add func_getargs.py module from Louis CoilliotLouis Coilliot2008-11-041-0/+60
| | | | | Adds some introspection support using the "inspect" module
* Fix a bug with "func-transmit --yaml" send bools as strings and causingAdrian Likins2008-10-311-1/+14
| | | | | | | | | | | | | weird things to happen to async. Add a "smart_bool" method to client.py that will take the string and/or bool it gets and make a bool of it. test_func_transmit.py: add option to specify async/nfork params for the non async test calls for testing add a couple test cases that call methods with "async=True, nforks=1" to make sure they do the right thing
* Fix minion module config examples. Add local "Config" class to module.Adrian Likins2008-10-241-1/+11
| | | | | | | | | | Add in all the approriate types and defaults to Config class Update etc/Test.conf example to include everything in main. For now we only support one stanza config files for modules. updated test cases to test that proper values are fetched from the config file for the "test" module
* add some test cases for per module configuation.Adrian Likins2008-10-242-1/+9
| | | | | | This stuff doesnt really seem to work at this point, but pushing so other folks can take a look at it. It doesn't break anything else.
* Merge branch 'master' of ssh://alikins@git.fedorahosted.org/git/funcAdrian Likins2008-10-211-2/+7
|\
| * Add listen_addr and listen_port to config so theAdrian Likins2008-10-201-2/+7
| | | | | | | | | | | | | | address and port funcd listens on is configurable. overlord side code for this isnt done yet, so not all that useful at the moment.
* | add system.inventory() method that returns a list of all modulesAdrian Likins2008-10-201-2/+23
| | | | | | | | | | | | and methods on a system. Not documented yet, since it's probably not in final form yet.
* | Add some support for saving module config files. And corresponding test cases.Adrian Likins2008-10-202-2/+19
|/
* add support for filename globsAdrian Likins2008-10-151-6/+26
| | | | | | | | | | .track() and .untrack() can both take a filename, a list of filenames, a file glob, or a list of file globs now. Also, rev the api verion to 0.0.2 Fixes https://fedorahosted.org/func/ticket/59
* Merge branch 'jcapel-vlan'Adrian Likins2008-10-081-9/+118
|\
| * Fixed some string/integer mixups, we'll now only use strings for vlan ids. ↵Jasper Capel2008-10-061-7/+27
| | | | | | | | Also made some speed optimizations in the make_it_so method (i.e. don't run ifup on a VLAN that's already up).
| * Renamed makeitso method to make_it_so.Jasper Capel2008-10-061-1/+1
| |
| * Added write() and list_permanent() methods to VLAN module. Also upped the ↵Jasper Capel2008-09-301-3/+53
| | | | | | | | module and API versions.
| * Added add_permanent and delete_permanent methods to vlan module.Jasper Capel2008-09-301-0/+39
| |
* | Merge branch 'jcapel-bridge'Adrian Likins2008-10-081-8/+292
|\ \
| * | Added make_it_so and write methodsJasper Capel2008-10-061-6/+118
| | |
| * | Added methods to permanently add/remove bridges or permanently add/remove ↵Jasper Capel2008-10-061-3/+175
| |/ | | | | | | interfaces from bridges.
* / Django cotnrol module from Steve 'Ashcrow' Milner <stevem@gnulinux.net>Steve 'Ashcrow' Milner2008-10-081-0/+128
|/