summaryrefslogtreecommitdiffstats
path: root/func
Commit message (Collapse)AuthorAgeFilesLines
* Initial go at the func inventory app (includes git integration). Docs TBA ↵Michael DeHaan2007-10-232-1/+154
| | | | shortly.
* Slight docs cleanup, make usage print the proper name of the app.Michael DeHaan2007-10-232-2/+1
|
* swap out minion-acl config file for minion-acl.d dir of .acl filesSeth Vidal2007-10-183-23/+32
|
* copyfile.py: dont need the parse call hereAdrian Likins2007-10-123-7/+8
| | | | | | | command.py: move the parse args stuff to before we call subcommands func_command.py: include the copyfile classes so we can use them
* what kind of weird name is "rpath", change to "remotepath"Adrian Likins2007-10-121-2/+2
|
* add "copyfile" commandline module that knows how to get the localAdrian Likins2007-10-123-0/+109
| | | | | | file, it's perms, and call the remote end correctly add copyright blurb to other modules
* add "show hardare --os" optionAdrian Likins2007-10-101-11/+6
| | | | | | | clean up other bits which of course, it makes no sense to call a subcommand called "hardware" to get the os version, but alas.
* add support to func cli for:Adrian Likins2007-10-091-10/+55
| | | | | | | | func show hardware (big dump of hardware info) func show hardware --platform func show hardware --memory
* 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-084-83/+49
|\ | | | | | | | | | | | | * '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
| * er, merge?Adrian Likins2007-10-082-73/+8
| | | | | | | | 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-084-11/+102
| |\
| * | 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 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-083-0/+102
|\| | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: add cmd_modules contents to spec create a func/overkiad/cmd_modules sub dir
| * 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-083-11/+60
|/ | | | - adds minion-acl.conf
* - certmaster-ca supports wildcards to -s and -c, nowSeth Vidal2007-10-042-15/+38
| | | | | | - 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-0330-2/+3546
|\
| * get rid of listen_port option since we really don't want that to be an optionSeth Vidal2007-10-032-2/+3
| | | | | | | | right now anyway
| * 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"
| * Fix up recursive pylint and pychecker rules.James Bowes2007-10-022-0/+11
| |
| * Moved code under the func namespace.Devan Goodwin2007-10-0227-0/+3488
|/ | | | | | 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.
* Added func --list-minions option.Devan Goodwin2007-10-021-0/+2
|
* Fix bad indentation in certs and func dirsJames Bowes2007-09-284-20/+20
|
* Remove unused importsJames Bowes2007-09-283-3/+2
|
* log the ip address of the requester to the audit.logAdrian Likins2007-09-281-3/+3
| | | | | also ditch the "INFO" blurb in the log, since we don't really log at any other level
* make sure we have the fqdn of the certmaster in the CN of the certificate ↵Seth Vidal2007-09-281-1/+3
| | | | authority key
* 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
* remove config_data.py as it is no longer usedSeth Vidal2007-09-271-52/+0
|
* back to calling it certmaster not certmaster_serverSeth Vidal2007-09-271-1/+1
|
* get rid of overlord_server - use only certmaster_server in minion configSeth Vidal2007-09-271-2/+1
|
* config crap in one file so we don't have recursive/impossible imports, I hopeSeth Vidal2007-09-273-10/+19
|
* new config on logger.pySeth Vidal2007-09-271-7/+6
|
* modify func/overlord to read config from certmaster and use config.pySeth Vidal2007-09-271-1/+0
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcSeth Vidal2007-09-271-0/+19
|\ | | | | | | | | | | | | | | * 'master' of ssh://git.fedoraproject.org/git/hosted/func: just some prettyifying top level targs for "pyflakes" and "pychecker" add util makefiles here make "make clean" go into the subdirs and run makeclean there
| * add util makefiles hereAdrian Likins2007-09-271-0/+19
| |
* | import yum config.pySeth Vidal2007-09-271-0/+469
| |
* | port certmaster to using an ini-style config fileSeth Vidal2007-09-271-53/+24
|/ | | | | import config.py from yum + some cleanups modify certmaster-ca to the same
* move logger and config_data to func/funcAdrian Likins2007-09-272-0/+135
| | | | | | | | | | | 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)
* - certs.py: write keys out as mode 600Seth Vidal2007-09-271-3/+3
| | | | | - make sure we setup the config dict immediately in config_data - clean up our config, pki and var dirs on removal
* Remove assorted unused importsJames Bowes2007-09-265-9/+3
|
* Fix OsError tyopJames Bowes2007-09-261-1/+1
|
* make it so it doesn't exit when it returns the cert to the clientSeth Vidal2007-09-261-3/+3
|
* certmaster-ca added for signing csrs manuallySeth Vidal2007-09-261-11/+59
| | | | 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-253-3/+81
| | | | update scripts/funcd and func/certmaster to use them