Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Format changelog | Michael DeHaan | 2007-10-26 | 1 | -1/+1 |
| | |||||
* | When func is invoked with no-args, show instructions rather than traceback. | Michael DeHaan | 2007-10-26 | 1 | -0/+3 |
| | |||||
* | Misc. changes from the Fedora package review. | Michael DeHaan | 2007-10-26 | 6 | -21/+31 |
| | |||||
* | This adds alternative output formats for func-inventory, so that other ↵ | Michael DeHaan | 2007-10-26 | 2 | -1/+37 |
| | | | | | | programs could more easily read the tree. The default is still pretty print as that makes the git diffs nicest. | ||||
* | Slight changes to make it easier to establish seperate client handles to all ↵ | Michael DeHaan | 2007-10-25 | 2 | -14/+25 |
| | | | | | | | | | | servers and walk them, rather than using the Client as a multiplexer object. In most cases things won't care, but since ping is an interactive command that is not intended to ever be parsed, this gives the impression that things are more speedy for that one command. Syntax is still "func '*' ping" | ||||
* | Added a ping function to the test module and a new command "func '*' ping" ↵ | Michael DeHaan | 2007-10-25 | 3 | -2/+77 |
| | | | | | | | | | which can be used to see what servers are contactable from the command line for any given operation, without needing to run an otherwise meaningful command on them. Note that it does try to contact each server before showing results, so ideally we should provide a method in the client class to get the system list and create the client objects seperately for each contact, so output can stream back one line at a time. TBA. | ||||
* | Update manpage to new list_minions syntax. | Michael DeHaan | 2007-10-25 | 1 | -1/+1 |
| | |||||
* | Docs cleanup/fix | Michael DeHaan | 2007-10-25 | 1 | -7/+10 |
| | |||||
* | Added docs about call's various output parameters. | Michael DeHaan | 2007-10-25 | 1 | -0/+8 |
| | |||||
* | Make pretty printer be the default print option, and make a new option for ↵ | Michael DeHaan | 2007-10-25 | 1 | -6/+13 |
| | | | | | | raw output that just uses Python print. | ||||
* | Added rpm package tracking, which shows the full name, epoch, version, ↵ | Michael DeHaan | 2007-10-25 | 1 | -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 DeHaan | 2007-10-25 | 1 | -3/+16 |
| | |||||
* | Added the first part of the service inventory code (chkconfig state) .. next ↵ | Michael DeHaan | 2007-10-25 | 3 | -8/+38 |
| | | | | | | up is the list of currently running services. | ||||
* | Inventory module now defaults to calling 'inventory' methods, not 'info', to ↵ | Michael DeHaan | 2007-10-24 | 1 | -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 DeHaan | 2007-10-24 | 3 | -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 blobs | Adrian Likins | 2007-10-24 | 2 | -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 inventory | Adrian Likins | 2007-10-24 | 1 | -0/+10 |
| | | | | sweeps in func-inventory | ||||
* | move "func list_minions" to be a cmd module | Adrian Likins | 2007-10-24 | 2 | -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 DeHaan | 2007-10-24 | 1 | -0/+8 |
| | |||||
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Michael DeHaan | 2007-10-23 | 1 | -1/+0 |
|\ | | | | | | | | | | | Conflicts: func/overlord/client.py | ||||
| * | remove unused func_command import | Adrian Likins | 2007-10-23 | 1 | -1/+1 |
| | | | | | | | | (was causing circular imports) | ||||
* | | Added docs for func-inventory | Michael DeHaan | 2007-10-23 | 7 | -4/+70 |
| | | |||||
* | | Initial go at the func inventory app (includes git integration). Docs TBA ↵ | Michael DeHaan | 2007-10-23 | 4 | -3/+164 |
|/ | | | | shortly. | ||||
* | Manpage cleanup. | Michael DeHaan | 2007-10-23 | 1 | -7/+53 |
| | |||||
* | Slight docs cleanup, make usage print the proper name of the app. | Michael DeHaan | 2007-10-23 | 4 | -6/+9 |
| | |||||
* | and add typo in %files | Seth Vidal | 2007-10-18 | 1 | -1/+1 |
| | |||||
* | leftover mention of minion-acl.conf | Seth Vidal | 2007-10-18 | 1 | -1/+0 |
| | |||||
* | swap out minion-acl config file for minion-acl.d dir of .acl files | Seth Vidal | 2007-10-18 | 7 | -26/+42 |
| | |||||
* | copyfile.py: dont need the parse call here | Adrian Likins | 2007-10-12 | 3 | -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 Likins | 2007-10-12 | 1 | -2/+2 |
| | |||||
* | add "copyfile" commandline module that knows how to get the local | Adrian Likins | 2007-10-12 | 3 | -0/+109 |
| | | | | | | file, it's perms, and call the remote end correctly add copyright blurb to other modules | ||||
* | add "show hardare --os" option | Adrian Likins | 2007-10-10 | 1 | -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 Likins | 2007-10-09 | 1 | -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 from | Adrian Likins | 2007-10-09 | 4 | -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 before | Adrian Likins | 2007-10-09 | 1 | -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-check | Seth Vidal | 2007-10-08 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Seth Vidal | 2007-10-08 | 6 | -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/func | Adrian Likins | 2007-10-08 | 2 | -0/+2 |
| |\ | |||||
| * | | er, merge? | Adrian Likins | 2007-10-08 | 4 | -75/+11 |
| | | | | | | | | | | | | wtf, I already committed and pushed these changes | ||||
| * | | add a couple alternatice serializers just for kicks | Adrian Likins | 2007-10-08 | 1 | -8/+35 |
| | | | |||||
| * | | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Adrian Likins | 2007-10-08 | 6 | -12/+108 |
| |\ \ | |||||
| * | | | sort the returns of these methods just to make it purdy | Adrian Likins | 2007-10-08 | 1 | -2/+6 |
| | | | | |||||
* | | | | prelim snmp - get method | Seth Vidal | 2007-10-08 | 1 | -0/+46 |
| |_|/ |/| | | |||||
* | | | add minion-acl.conf to spec file | Seth Vidal | 2007-10-08 | 1 | -0/+1 |
| | | | |||||
* | | | make sure minion-acl.conf is added in setup.py | Seth Vidal | 2007-10-08 | 1 | -0/+1 |
| |/ |/| | |||||
* | | add nagios_check | Seth Vidal | 2007-10-08 | 1 | -0/+42 |
| | | | | | | | | | | | | nagios run check_disk will run nagios' disk check, for example | ||||
* | | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Seth Vidal | 2007-10-08 | 4 | -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 spec | Adrian Likins | 2007-10-08 | 1 | -0/+5 |
| | | |||||
| * | create a func/overkiad/cmd_modules sub dir | Adrian Likins | 2007-10-08 | 3 | -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 minion | Seth Vidal | 2007-10-08 | 5 | -12/+66 |
|/ | | | | - adds minion-acl.conf |