summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* make func_command use the new handleArguments method fromAdrian Likins2007-10-094-44/+140
| | | | | | | | | | | | | | | | command.Command. Use this to fetch the hostnamegoo client.py: pull out expand_servers to module scope, and isServer(). This method basically tries to see if what we think is hostnamegoo is actually hostnamegoo. Kind of a guess atm. cmd_modules/call.py: change this so it doesn't do it's own parsing out of the hostname goo, instead using that from func_command (aka, the top level command parser) cmd_modules/show.py: just a cmd line module in early development
* add a hook into command.py to do stuff to the arguments beforeAdrian Likins2007-10-091-0/+10
| | | | | | | command.py tries to dig into them itself. We will use this to get the "hostnamegoo" out before looking for subcommands.
* fix up some items on nagios-checkSeth Vidal2007-10-081-2/+2
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-10-086-85/+52
|\ | | | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: er, merge? add a couple alternatice serializers just for kicks sort the returns of these methods just to make it purdy
| * Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-10-082-0/+2
| |\
| * | er, merge?Adrian Likins2007-10-084-75/+11
| | | | | | | | | | | | wtf, I already committed and pushed these changes
| * | add a couple alternatice serializers just for kicksAdrian Likins2007-10-081-8/+35
| | |
| * | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-10-086-12/+108
| |\ \
| * | | sort the returns of these methods just to make it purdyAdrian Likins2007-10-081-2/+6
| | | |
* | | | prelim snmp - get methodSeth Vidal2007-10-081-0/+46
| |_|/ |/| |
* | | add minion-acl.conf to spec fileSeth Vidal2007-10-081-0/+1
| | |
* | | make sure minion-acl.conf is added in setup.pySeth Vidal2007-10-081-0/+1
| |/ |/|
* | add nagios_checkSeth Vidal2007-10-081-0/+42
| | | | | | | | | | | | nagios run check_disk will run nagios' disk check, for example
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-10-084-0/+107
|\| | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: add cmd_modules contents to spec create a func/overkiad/cmd_modules sub dir
| * add cmd_modules contents to specAdrian Likins2007-10-081-0/+5
| |
| * create a func/overkiad/cmd_modules sub dirAdrian Likins2007-10-083-0/+102
| | | | | | | | | | | | | | | | | | add it to the setup use new func_command module for base class of commands move Call class to cmd_modules/call update scripts/func to use new commandline class
* | fine-grained acls per minionSeth Vidal2007-10-085-12/+66
|/ | | | - adds minion-acl.conf
* - certmaster-ca supports wildcards to -s and -c, nowSeth Vidal2007-10-043-18/+47
| | | | | | - 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
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcJesus M. Rodriguez2007-10-0336-145/+540
|\
| * - 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
| * get rid of listen_port option since we really don't want that to be an optionSeth Vidal2007-10-033-3/+3
| | | | | | | | right now anyway
| * Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-10-031-1/+41
| |\ | | | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: should help fix some of the problems people were seeing when running
| | * should help fix some of the problems people were seeing when runningAdrian Likins2007-10-031-1/+41
| | | | | | | | | | | | on machines where the hostname appeared to be "localhost"
| * | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-10-0333-220/+457
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: Fix up recursive pylint and pychecker rules. Moved code under the func namespace. Exit program after listing minions. Added func --list-minions option. changes to use the new command line modules add command.py from MOAP http://thomas.apestaart.org/moap/trac
| | * Fix up recursive pylint and pychecker rules.James Bowes2007-10-024-3/+15
| | |
| | * Moved code under the func namespace.Devan Goodwin2007-10-0229-136/+107
| | | | | | | | | | | | | | | | | | 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.
| * | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-10-022-4/+4
| |\ \ | | | | | | | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: changed more class defs to use (object) instead of () so it works on
| * | | COPYING goodness - GPLv2+Seth Vidal2007-10-011-0/+339
| | | |
* | | | make sub_process.py work on python 2.3Jesus M. Rodriguez2007-10-031-2/+6
| |_|/ |/| |
* | | Exit program after listing minions.Devan Goodwin2007-10-021-16/+1
| | |
* | | Added func --list-minions option.Devan Goodwin2007-10-023-9/+34
| | |
* | | changes to use the new command line modulesAdrian Likins2007-10-021-2/+2
| | |
* | | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-10-022-5/+3
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: overlord/client.py
| * | changed more class defs to use (object) instead of () so it works onJesus M. Rodriguez2007-10-012-4/+4
| |/ | | | | | | python 2.3 and 2.4.
* / add command.py from MOAP http://thomas.apestaart.org/moap/tracAdrian Likins2007-10-022-76/+322
|/ | | | | | | convert client.py to use it Note this changes the current commandline to need a "call" subcommand to call an rpc method directly.
* Fix indentation error in overlord/client.py.Devan Goodwin2007-09-291-140/+148
| | | | Also normalized indentation to 4-spaces per level, and wrapped a few 80+ character lines.
* Fix bad indentation in minion, modules and overlordJames Bowes2007-09-298-56/+54
|
* Fix bad indentation in certs and func dirsJames Bowes2007-09-286-30/+30
|
* Remove unused importsJames Bowes2007-09-286-6/+2
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-286-25/+33
|\
| * remove rhpl depAdrian Likins2007-09-283-3/+6
| | | | | | | | use python gettext instead of rhpl.gettext stuff
| * log the ip address of the requester to the audit.logAdrian Likins2007-09-282-4/+5
| | | | | | | | | | also ditch the "INFO" blurb in the log, since we don't really log at any other level
| * Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-09-281-1/+3
| |\
| | * make sure we have the fqdn of the certmaster in the CN of the certificate ↵Seth Vidal2007-09-281-1/+3
| | | | | | | | | | | | authority key
| * | just reorging a bitAdrian Likins2007-09-281-17/+19
| |/
* / Make the command module use subprocess to capture stdin/stdout and return ↵Michael DeHaan2007-09-281-1/+9
|/ | | | them to the caller.
* Add pretty printing for output, also remove an unused constant.Michael DeHaan2007-09-281-6/+3
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-284-110/+12
|\
| * make sure we don't end up with / or \ in filenames anywhere from a dodgy cn ↵Seth Vidal2007-09-281-5/+11
| | | | | | | | in a csr
| * certs are named .cert not .crt so when we remove the extension it is ↵Seth Vidal2007-09-271-1/+1
| | | | | | | | string[:-5] not string[:-4]