| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
bump preparing for a new release to Fedora and EPEL mirrors.
|
|
|
|
| |
This can be wired up to other modules as well, but I've only added it to "call" for now. To use it, pass in the option --forks=N, ex --forks=3 on the command line as an option to "call". The default is forks==1 which completely bypasses the fork code, just to ensure we don't break anything using the Func API that might not like it. (However I'm pretty sure it would be fine).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
to be there.
|
|
|
|
| |
directory that is tracked.
|
|
|
|
| |
string, it doesn't have to pretty print it
|
|
|
|
|
|
|
|
|
| |
tweaks. "func spec call filetracker track filename" can be
used to track a file, and "func spec call filetracker untrack filename" removes it. Then it shows up with lots of data using
"func spec call filetracker inventory". Addition can also specify for the contents of data in the said files to be noted in inventory.
Additionally, the inventory function can be told to return data structures instead of an easily-diffable list, and
the checksums can be enabled/disabled.
|
|
|
|
| |
that just seems to alarm people
|
|\ |
|
| | |
|
|/
|
|
| |
report, and ignore
|
|
|
|
|
|
| |
programs could more easily read
the tree. The default is still pretty print as that makes the git diffs nicest.
|
|
|
|
|
|
|
|
|
|
| |
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"
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
raw output that just
uses Python print.
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
up is the list of currently running
services.
|
|
|
|
|
|
|
|
| |
represent that info() data may change frequently
and not be something we want to track.
Also fix the --no-git option.
|
|
|
|
|
|
|
|
| |
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 minion module to accept blobs, add checksum_blob for
doing plain blobs
|
|
|
|
| |
sweeps in func-inventory
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| |
| | |
Conflicts:
func/overlord/client.py
|
| |
| |
| |
| | |
(was causing circular imports)
|
|/
|
|
| |
shortly.
|
| |
|
| |
|
|
|
|
|
|
|
| |
command.py: move the parse args stuff to before we call
subcommands
func_command.py: include the copyfile classes so we can use them
|
| |
|
|
|
|
|
|
| |
file, it's perms, and call the remote end correctly
add copyright blurb to other modules
|
|
|
|
|
|
|
| |
clean up other bits
which of course, it makes no sense to call a subcommand called
"hardware" to get the os version, but alas.
|
|
|
|
|
|
|
|
| |
func show hardware
(big dump of hardware info)
func show hardware --platform
func show hardware --memory
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
command.py tries to dig into them itself.
We will use this to get the "hostnamegoo" out before looking
for subcommands.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* '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
|
| |
| |
| |
| | |
wtf, I already committed and pushed these changes
|
| | |
|
| |\ |
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
nagios run check_disk
will run nagios' disk check, for example
|
|\|
| |
| |
| |
| |
| | |
* 'master' of ssh://git.fedoraproject.org/git/hosted/func:
add cmd_modules contents to spec
create a func/overkiad/cmd_modules sub dir
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
- adds minion-acl.conf
|
|
|
|
|
|
| |
- 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
|