Commit Graph

1151 Commits

Author SHA1 Message Date
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
Thomas S Hatch
a8d2301104 Add puppet module, needs more work 2011-07-05 22:09:32 -06:00
Thomas S Hatch
6e8c0f7e25 Add has_exec to cmd 2011-07-05 22:02:56 -06:00
Thomas S Hatch
75f12f0c88 Cleaning up the mount module, it all works properly now 2011-07-04 14:34:00 -06:00
Thomas S Hatch
1edd1c9d01 Silly me, .append manipulates and dosen't return, I should know better! 2011-07-04 13:22:03 -06:00
Thomas S Hatch
7df879d025 remove retcode return 2011-07-04 12:56:14 -06:00
Thomas S Hatch
326493bd9f Fix mount module issues 2011-07-03 23:27:16 -06:00
Thomas S Hatch
6ddbff4bbf Merge branch 'master' of github.com:thatch45/salt 2011-07-03 22:51:13 -06:00
Thomas S Hatch
0b99bf43e0 Add doc printing for salt-run 2011-07-03 22:48:57 -06:00
Thomas S Hatch
ca353e4ba6 Add -d option to salt-run 2011-07-03 22:22:40 -06:00
archme
564ca2172b Add syntax check for grains 2011-07-04 03:28:27 +08:00
Thomas S Hatch
a5a9f7ac59 Add salt-run manpage 2011-07-02 19:55:06 -06:00
Thomas S Hatch
5bfba21cbc Add runners docs 2011-07-02 18:06:14 -06:00
Thomas S Hatch
193afabf3c Add renderers documentation 2011-07-02 17:40:40 -06:00
Thomas S Hatch
6fd4d4c9dc clean up spacing 2011-07-01 17:10:27 -06:00
Thomas S Hatch
7face0e522 Clean up pubkey temp files 2011-07-01 12:56:53 -06:00
Thomas S Hatch
8e76fb2c9e Fix bug 114, move old strings to .format 2011-07-01 09:12:10 -06:00
Thomas S Hatch
146aa6b463 Add doc on rendering system 2011-07-01 00:46:57 -06:00
Thomas S Hatch
50d714433d Add top file docs 2011-07-01 00:24:50 -06:00
Thomas S Hatch
980a1a59fb Merge branch 'master' of github.com:thatch45/salt 2011-06-30 23:44:15 -06:00
Thomas S Hatch
abbeac3dc2 Initial state system docs 2011-06-30 22:57:18 -06:00
Joseph Hall
b8a64d2169 Oops, screwed up the array for load averages. Shifted back a position. 2011-06-30 09:56:29 -07:00
Thomas S Hatch
2b4ad5b9ae Add ssh module 2011-06-30 01:43:56 -06:00
Thomas S Hatch
8977d7a238 And this is why you don't fix things in a hurry 2011-06-28 09:13:46 -06:00
Thomas S Hatch
f2ce7acaa7 Fix log bug in AES callbacks on the master 2011-06-28 09:12:43 -06:00
Thomas S Hatch
8b4ec5740f Add version options to yum module 2011-06-28 00:44:24 -06:00
Thomas S Hatch
2034309610 fix regresion in pacman module 2011-06-28 00:28:24 -06:00
Thomas S Hatch
9e3d6845d9 Fix docstring in pacman module 2011-06-28 00:09:59 -06:00