summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make pretty printer be the default print option, and make a new option for ↵Michael DeHaan2007-10-251-6/+13
| | | | | | raw output that just uses Python print.
* Added rpm package tracking, which shows the full name, epoch, version, ↵Michael DeHaan2007-10-251-0/+48
| | | | release, and arch for every packaged installed on the system, for use with func-inventory and other apps that want it. The module supports a string return for diffs in func-inventory, and also can return arrays for other scripts.
* Adding part 2 to service inventory -- what the services are currently doing.Michael DeHaan2007-10-251-3/+16
|
* Added the first part of the service inventory code (chkconfig state) .. next ↵Michael DeHaan2007-10-253-8/+38
| | | | | | up is the list of currently running services.
* Inventory module now defaults to calling 'inventory' methods, not 'info', to ↵Michael DeHaan2007-10-241-3/+3
| | | | | | | | represent that info() data may change frequently and not be something we want to track. Also fix the --no-git option.
* Add a new method "inventory" which will be the default method func-inventory ↵Michael DeHaan2007-10-243-13/+16
| | | | | | | | will call, so that modules that have non-constant data (like the process module) won't record their data in func-inventory by default. Only modules that have mostly-static data will have an inventory method, though often this will be aliased to their existing info() method -- but maybe not always.
* change copyfile cmd line to transmit file contents as binary blobsAdrian Likins2007-10-242-4/+14
| | | | | change copyfile minion module to accept blobs, add checksum_blob for doing plain blobs
* add a .info attribute so virt status is stored as part of inventoryAdrian Likins2007-10-241-0/+10
| | | | sweeps in func-inventory
* move "func list_minions" to be a cmd moduleAdrian Likins2007-10-242-16/+63
| | | | | | | | | So now it also respects the hostnamegoo glob, so you can use it to test glob patterns func "*.redhat.com" list_minions will show all the minions that match that pattern
* Add missing file.Michael DeHaan2007-10-241-0/+8
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-10-231-1/+0
|\ | | | | | | | | | | Conflicts: func/overlord/client.py
| * remove unused func_command importAdrian Likins2007-10-231-1/+1
| | | | | | | | (was causing circular imports)
* | Added docs for func-inventoryMichael DeHaan2007-10-237-4/+70
| |
* | Initial go at the func inventory app (includes git integration). Docs TBA ↵Michael DeHaan2007-10-234-3/+164
|/ | | | shortly.
* Manpage cleanup.Michael DeHaan2007-10-231-7/+53
|
* Slight docs cleanup, make usage print the proper name of the app.Michael DeHaan2007-10-234-6/+9
|
* and add typo in %filesSeth Vidal2007-10-181-1/+1
|
* leftover mention of minion-acl.confSeth Vidal2007-10-181-1/+0
|
* swap out minion-acl config file for minion-acl.d dir of .acl filesSeth Vidal2007-10-187-26/+42
|
* 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-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.