Commit Graph

1078 Commits

Author SHA1 Message Date
Thomas S Hatch
b4c75150e9 Add dns_check to generation of master binding 2011-07-17 15:52:03 -06:00
Thomas S Hatch
9d1c4aa1d4 Add a fallback to the kernel grain 2011-07-13 23:55:09 -06:00
Thomas S Hatch
0ba610a719 The spec file and init scripts build rpms that run ton f15 and SL6 2011-07-13 23:15:34 -06:00
Thomas S Hatch
0729f09034 Merge branch 'master' of github.com:thatch45/salt 2011-07-13 21:11:00 -06:00
Thomas S Hatch
c426d7538c prep spec file for salt rpms 2011-07-13 20:42:06 -06:00
Joseph Hall
2add786f31 Change _connect to connect, so that it can be used from within other modules 2011-07-13 09:38:34 -06:00
Joseph Hall
85cc996731 Adding basic MySQL compatibility to salt 2011-07-13 09:18:33 -06:00
Thomas S Hatch
58f52d5c45 Add roadmap file 2011-07-11 22:49:55 -06:00
Thomas S Hatch
254425342f I keep messing these up :) mem_total works 2011-07-10 22:20:10 -06:00
Thomas S Hatch
c0ce95a4f9 move memdata function 2011-07-10 22:16:32 -06:00
Thomas S Hatch
911ff7874e Add mem_total grain 2011-07-10 22:15:04 -06:00
Thomas S Hatch
7a07556b48 fix another docstring 2011-07-10 22:08:29 -06:00
Thomas S Hatch
125e3f3642 fix docstring in mongo returner 2011-07-10 22:07:33 -06:00
Thomas S Hatch
20bfc13d89 fix cpu stuff 2011-07-10 21:54:04 -06:00
Thomas S Hatch
f3880e6933 Add cpu grains 2011-07-10 21:45:36 -06:00
Thomas S Hatch
2d48bdd446 update docs for 0.8.9 2011-07-10 13:17:33 -06:00
Thomas S Hatch
c226df95e6 Add salt-run manpage and update man pages for 0.8.9 2011-07-09 17:13:08 -06:00
Thomas S Hatch
92d940782d update setup.py for 0.8.9 2011-07-09 17:09:15 -06:00
Thomas S Hatch
9c39382613 Update shpinx conf to 0.8.9 2011-07-09 17:05:38 -06:00
Thomas S Hatch
4d1568ab16 Release announcement for 0.8.9 2011-07-09 17:03:25 -06:00
Thomas S Hatch
f069cc5fd1 Salt minion dies with a ctrl-c now 2011-07-09 15:37:35 -06:00
Thomas S Hatch
4941952b97 Add error message to sys.doc if no minions return 2011-07-09 14:59:02 -06:00
Thomas S Hatch
7acaece5d0 Add Download to the webpage 2011-07-09 14:45:59 -06:00
Thomas S Hatch
db987ddb46 change the default outputter to pprint 2011-07-09 14:43:16 -06:00
Thomas S Hatch
9259c9a59e Add outputter docs 2011-07-09 14:24:54 -06:00
Thomas S Hatch
695069b8b5 Set default outputter for cmd.run 2011-07-09 14:03:39 -06:00
Thomas S Hatch
af1e5f43e9 Add the hook for the outputter interface to the cli invocation 2011-07-09 13:50:02 -06:00
Thomas S Hatch
950f43a098 Add cmd_full_return call to the client api 2011-07-09 13:11:09 -06:00
Thomas S Hatch
bebf3a6f53 Add get_full_returns for gathering extra data from the minion 2011-07-09 00:19:09 -06:00
Thomas S Hatch
fa0fbbd881 Add out data to the return serialization 2011-07-08 23:40:26 -06:00
Thomas S Hatch
b4dce37b8c Add support to minion modules for the __outputter__ dict 2011-07-08 23:00:22 -06:00
Erik Nolte
5001d50870 Merge branch 'master' of github.com:thatch45/salt 2011-07-08 13:59:51 -06:00
Erik Nolte
b2149b5dce add the salt 'status.diskusage' command to display bytes available and bytes used for (optionally) specified filesystems 2011-07-08 13:57:57 -06:00
Erik Nolte
e6ca476375 log the returner value to the debug logger rather than printing it to stdout 2011-07-08 13:56:18 -06:00
Thomas S Hatch
73e0409010 Merge pull request #124 from SEJeff/master
Add salt.output and remove hardcoding of cwd='/root' from the cmd salt module
2011-07-07 23:05:41 -07:00
Thomas S Hatch
4b9a67acda Fix issue with introspection functions in the loader 2011-07-08 00:04:27 -06:00
Jeff Schroeder
a6f7a5851e Fix the coding style of salt.output and a few nits
- Yaml is a hard dependency so whack the check
    - Fall back to RawOutputter when TxtOutputter chokes
    - Fall back to json properly when json.dumps(data) fails
    - Make the docstrings look like the rest of the salt codebase
2011-07-07 22:08:58 -07:00
Jeff Schroeder
acf298b88b Make salt.cli.run() use the new Outputter stuff for results 2011-07-07 21:29:16 -07:00
Thomas S Hatch
a24c69c8e4 Minior fix in salt-run manpage 2011-07-07 22:23:26 -06:00
Thomas S Hatch
7c81796996 Merge branch 'master' of github.com:thatch45/salt 2011-07-07 22:20:27 -06:00
Thomas S Hatch
d4b99425b0 Add file server docs 2011-07-07 22:20:02 -06:00
Jeff Schroeder
ea76ca5810 cmd: Remove hardcoded cwd='/root'
- This is the first very small step for running  minions
      as users != root and having  things  "just  work  TM".
    - A lot more assumptions need to be taken care of first.
2011-07-07 21:19:43 -07:00
Jeff Schroeder
85c732e395 Add the salt.output module 2011-07-07 21:13:01 -07:00
Thomas S Hatch
f8c5b89510 Merge pull request #122 from SEJeff/misc-fixes
RFE: Add a --text-out option to salt for "pretty printing" cmd.run output
2011-07-07 08:33:12 -07:00
Jeff Schroeder
e6f5b205e4 Fix a simple omission 2011-07-06 22:13:31 -07:00
Jeff Schroeder
d54c443f66 Add a --text-out option to salt for "pretty printing" cmd.run output
This is *heavily* inspired from onall:
https://code.ticketmaster.com/trac/browser/onall/trunk/onall?format=txt

Example onall output:
$ echo ops{1,2}.els{0,2}2.int | onall -qy hostname
ops1.els2.int: ops1.els2.int
ops1.els0.int: ops1.els0.int
ops2.els2.int: ops2.els2.int
ops2.els0.int: ops2.els0.int

$ echo ops{1,2}.els{0,2}2.int | onall -qy date
ops1.els2.int: Thu Jul  7 01:08:04 EDT 2011
ops1.els0.int: Thu Jul  7 01:08:04 EDT 2011
ops2.els2.int: Thu Jul  7 01:08:04 EDT 2011
ops2.els0.int: Thu Jul  7 01:08:04 EDT 2011

$ salt 'localhost6.localdomain6' cmd.run --text-out 'tracepath localhost'
localhost6.localdomain6:  1:  localhost.localdomain                                 0.072ms pmtu 16436
localhost6.localdomain6:  1:  localhost.localdomain                                 0.032ms reached
localhost6.localdomain6:  1:  localhost.localdomain                                 0.031ms reached
localhost6.localdomain6:      Resume: pmtu 16436 hops 1 back 64
2011-07-06 22:04:45 -07:00
Thomas S Hatch
04e3ecbf42 Merge pull request #120 from SEJeff/misc-fixes
Fix a nasty traceback when invoking salt incorrectly
2011-07-06 21:39:59 -07:00
Jeff Schroeder
0ffc973106 Fix a nasty traceback when invoking salt incorrectly
To trigger the traceback, try: salt run
2011-07-06 21:17:02 -07:00
Thomas S Hatch
37c60fb16a Fix = in tailing else 2011-07-06 21:14:53 -06:00
Thomas S Hatch
01103ae384 return consistent types, I need to be more strict about this 2011-07-05 22:25:12 -06:00