summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Just some permissions clean up on source files, mostlyAdrian Likins2009-01-192-0/+0
| | | | removing 'x' bits on source code and makefiles
* func-transmit now has some ways of handling exceptions raised from theAdrian Likins2008-09-021-14/+43
| | | | | | | | | Overlord() api class. It will catch them, and then marshall them into a dict of {'name':"?", 'error':1, 'message':"?". 'info':{dict of whatever}} It will also exit the process with status 1 instead of 0. Also, some refactoring to make the error handling a little easier.
* Use overlod module to list_minions() instead of the hack in func-transmit.Krzysztof A. Adamski2008-08-071-31/+19
|
* Do some refactoring of func-transmit.Adrian Likins2008-07-181-79/+86
| | | | | | | | make JSON the default encoding reorganize some imports move everything into a main()
* remove the code that packs this into a dict, Marco says it'sAdrian Likins2008-07-181-2/+1
| | | | not needed now
* func-transmit: merge a modified patch from mmornati@byte-code.comAdrian Likins2008-07-181-14/+48
| | | | | | | | | | | | adds json support to func-transmit add an exception on async calls to list_minions removed the special casing for "job_status", it doesn't need to be special cased. "list_minions" is a func-transmit call only, so it can do whatever it wants.
* func-transmit: handle lists of client globs. Not sure this is the correctAdrian Likins2008-07-161-3/+18
| | | | | | | approach, but it seems to mostly work for now test_func_transmit.py: more test cases for func-transmit
* Change parameter passing... we need to call it with a list of paramaters, ↵Adrian Likins2008-07-151-1/+6
| | | | | | | | though the code will understand how to deal with a single item being passed. Also changed the method call to pass it as an arg list to the method (aka, method(*parameters))
* Merge branch 'ssalevan_delegation'Michael DeHaan2008-07-111-0/+8
|\ | | | | | | | | | | | | | | Conflicts: func.spec func/minion/modules/certmastermod.py setup.py
| * Adding in a command-line map building tool,Steve Salevan2008-06-271-0/+8
| | | | | | | | | | adjusting spec and setup.py to account for new PyYAML dependency and new script
* | Allow func-transmit to call "list_minions"Michael DeHaan2008-07-111-12/+25
| |
* | Print userfriendly error messages instead of tracebacks in case of ↵Krzysztof A. Adamski2008-07-081-1/+6
| | | | | | | | permissions errors.
* | Including yaml parser for use by Func-transmit, as we want to make sure we haveMichael DeHaan2008-07-071-1/+1
| | | | | | | | one around that is compatible with older Python, and also tweaked not to do crayz things with stream layout.
* | Default parameter list in func-transmit to NoneMichael DeHaan2008-07-072-4/+4
| |
* | Allow calling with no parametersMichael DeHaan2008-07-071-1/+4
| |
* | Add GPL headers to main /usr/bin scriptsMichael DeHaan2008-07-073-0/+39
| |
* | Added func-transmit (Marco's version + tweaks) which allows calling Func via ↵Michael DeHaan2008-07-072-0/+71
|/ | | | a YAML interface over stdin/stdout protocol. We still need to package yaml properly as Fedora/EPEL does not have a parser that we like well enough (FIXME). We could also change this to work over XMLRPC marshalling if so desired.
* In upgrade script, do not crash if files do not existMichael DeHaan2008-03-071-0/+2
|
* Fixed the direction of one check in the updater scriptMichael DeHaan2008-03-071-27/+20
|
* migrate some certmaster.conf settingsAdrian Likins2008-03-061-20/+37
| | | | | | | slight refactor to split up the minion and certmaster option migrations this should migrate listen_addr and autosign settings
* remove debug spew we no longer need I hopeAdrian Likins2008-03-051-17/+10
| | | | rename the "funcmaster.*" to "certmaster.*"
* Fix a couple of bugs here, and turn on more debugging output.Adrian Likins2008-03-041-21/+19
| | | | | We were copying the /etc/pki/func/ contents to a subdir of /etc/pki/certmaster instead of into the dir directly. Fixed.
* don't migrate cert_dir settings at all. Move everyone to the newAdrian Likins2008-03-041-14/+13
| | | | default "/etc/pki/certmaster".
* don't try to use the config classes to read the old config files, itAdrian Likins2008-03-041-11/+39
| | | | | doesn't really work, istead do it the old fashioned way and use ConfigParser directly.
* delete files, hopefully for real. These are certmaster stuff we dont need ↵Adrian Likins2008-02-292-103/+0
| | | | anymore
* add a tag to the func/minion.conf to indicate we've seen it beforeAdrian Likins2008-02-291-8/+29
| | | | and have migrated it
* script to update certmaster/func settings to the new style and locationAdrian Likins2008-02-281-0/+125
|
* allow ctrl+c and make sure we get input.Steve 'Ashcrow' Milner2008-02-231-19/+33
|
* checks for a valid email address and closer to normal __main__ coding.Steve 'Ashcrow' Milner2008-02-231-14/+36
|
* make remove_this_host remove_this_cert so it actually worksSeth Vidal2008-02-121-1/+1
| | | | thanks to Karsten Hopp for pointing this out
* Adding a module to allow func to control certmaster via func, this will be ↵Michael DeHaan2008-02-051-12/+2
| | | | more useful once we have support for local connections.
* Added in copyright and traditional comment header for new modules.Steve 'Ashcrow' Milner2008-01-201-4/+23
|
* Updated networktest to be the new way of defining modules and updated ↵Steve 'Ashcrow' Milner2008-01-161-1/+10
| | | | func-create-module to add in docstrings.
* Simplify our modules by auto-detecting them and registering their handlersLuke Macken2008-01-151-19/+4
| | | | | | | | | | | | | | - Auto-detect and load all FuncModules. This obsoletes the need to have our modules define a register_rpc method. - Use introspection in our FuncModule to auto-register all method handlers that do not being with an underscore. This obsoletes the need to hardcode methods in our modules. - Remove all __init__ methods from our modules, along with register_rpc - Modify the func-create-module script to reflect these changes. Note that doing 'from modules import func_module' is no longer supported in our modules, do to some interesting path issues with our auto-detection code. Supported methods are now: 'import func_module' or 'from func.minion.modules import func_module'
* Added in func-create-module to make boilerplate module code. spec, setup and ↵Steve 'Ashcrow' Milner2008-01-131-0/+66
| | | | version updated as well.
* Remove the extra print from the CLI, so we only print what gets returned for ↵Michael DeHaan2007-10-261-1/+1
| | | | | | each individual system, and not again in the per-system hash. (That's good for the API, but not the command line).
* Add missing file.Michael DeHaan2007-10-241-0/+8
|
* er, merge?Adrian Likins2007-10-081-2/+2
| | | | wtf, I already committed and pushed these changes
* - certmaster-ca supports wildcards to -s and -c, nowSeth Vidal2007-10-041-3/+9
| | | | | | - add basic acl support to funcd - make sure that the caller is using the cert/key of our ca before letting anything run - add authfailure exception
* - add certmaster-ca --clean option to clean out other certs/csrsSeth Vidal2007-10-031-3/+36
| | | | - make certmaster-ca output usage if no options passed
* Fix up recursive pylint and pychecker rules.James Bowes2007-10-021-1/+2
|
* changes to use the new command line modulesAdrian Likins2007-10-021-2/+2
|
* util makefile in scripts/Adrian Likins2007-09-271-0/+19
| | | | | | | add "make money" target in makefile that runs sloccount on all the source dirs Yeah, useful isnt it?
* port certmaster to using an ini-style config fileSeth Vidal2007-09-271-8/+1
| | | | | import config.py from yum + some cleanups modify certmaster-ca to the same
* certmaster-ca added for signing csrs manuallySeth Vidal2007-09-261-0/+70
| | | | added sign/list capabilities into certmaster since we can use the same object for both
* move code.py and utils.py to func/Adrian Likins2007-09-251-3/+1
| | | | update scripts/funcd and func/certmaster to use them
* fix up the wrapper scripts so that --daemon works correctly, and soAdrian Likins2007-09-251-9/+4
| | | | the init scripts also work correctly
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-251-6/+1
|\
| * make certmaster auto-create the ca key and cert on startup, if they are not ↵Seth Vidal2007-09-251-6/+1
| | | | | | | | present
* | Adding func (command line client to be run from master) to /usr/binMichael DeHaan2007-09-251-0/+14
|/