summaryrefslogtreecommitdiffstats
path: root/func
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* Merge branch 'bridge_module'Adrian Likins2008-09-171-0/+170
|\
| * Changed method names in bridge module for increased usability.Jasper Capel2008-09-171-15/+23
| |
| * Added new module for basic bridge managementJasper Capel2008-09-171-0/+162
| |
* | add method in test minion module to export it's configAdrian Likins2008-09-161-0/+9
|/ | | | add a simple unit test case to poke at it
* patch to add some basic support for creating vlans fromJasper Capel2008-09-161-0/+139
| | | | Jasper Capel <capel@stone-it.com>
* do not return None when launcing jboss with no optionsAdrian Likins2008-09-081-2/+2
| | | | patch from Luca Foppiano <lfoppiano@byte-code.com>
* add a method to the test module to return a really big intAdrian Likins2008-09-051-0/+10
| | | | | | Seems to break current versions of python, however. patch from Luca Lesinigo <luca@luckyluke.org>
* Add a new --list-modules to the minion (funcd). The new option will let it ↵Luca Lesinigo2008-09-031-0/+8
| | | | | | print the list of loaded modules and quit. patch from Luca Lesinigo <luca@luckyluke.org>
* make command.run invoke sub_process with closed_fds=TrueAdrian Likins2008-09-021-2/+3
| | | | | | | so new processed dont inherit any fd's from func FIXME: we should probably do the same for all uses of sub_process
* better fix for ticket #53 (trailing slashes break cert matching)Adrian Likins2008-09-021-1/+1
|
* remove any unneeded /'s from the cert path to fix ticket #53Adrian Likins2008-09-011-1/+4
| | | | "Trailing slash in certmaster.conf confuses glob function"
* Merge branch 'master' into cmd_run_envAdrian Likins2008-08-2630-36/+1067
|\
| * Create simple copyfile overlord module that is able to send big files.Krzysztof A. Adamski2008-08-233-15/+69
| |
| * Merge branch 'export_methods'makkalot2008-08-2026-20/+997
| |\
| | * little change in network testmakkalot2008-08-131-4/+4
| | |
| | * export the iptables commandmakkalot2008-08-132-1/+122
| | |
| | * merge master into the export_methods branchmakkalot2008-08-1312-60/+108
| | |\
| | * | export the netapp.vol.clone we forgot itmakkalot2008-08-121-1/+44
| | | |
| | * | export overlord modulemakkalot2008-08-121-0/+18
| | | |
| | * | export the certmaster module and remove some irrelevant linesmakkalot2008-08-121-5/+36
| | | |
| | * | export the test module not necessary but useful to see if other side respondsmakkalot2008-08-111-0/+52
| | | |