Commit Graph

3909 Commits

Author SHA1 Message Date
Thomas S Hatch
d738525316 Don't load Exceptions into the function area
Don't worry, the imported functions are still available to the
functions, since they are reffed on the module level
2012-03-27 22:38:03 -06:00
Nicolas Simonds
aa01c58b57 make "salt-key --list" friendlier to scripts/pipes
This alters the behaviour of the --list flag to take arguments,
e.g., "pre", "accept", "rej", etc.  The default behaviour (--list-all)
is unmodified, although it is properly spelled "--list all" now.

This will allow administrators to see the subset of keys they care
about, and get key counts without getting awk involved (unless they
want to)
2012-03-27 21:37:00 -07:00
Thomas S Hatch
91219d4b88 handle no minions targeted case 2012-03-27 22:17:32 -06:00
Thomas S Hatch
dbb666a5ae fix oversight with non string args 2012-03-27 22:03:00 -06:00
Thomas S Hatch
bd5de3c81a fix issue with detect_kwargs and defaults 2012-03-27 21:56:08 -06:00
Thomas S Hatch
8ab6714acc Alter detect_kwargs to take the args list 2012-03-27 21:40:46 -06:00
Thomas S Hatch
edf705e727 Add more robust kwargs to the caller 2012-03-27 21:28:29 -06:00
Thomas S Hatch
2a777e0db5 beef up kwargs for remote ex and fix #1010 2012-03-27 21:23:48 -06:00
Thomas S Hatch
fcb41489ab s/hach/hash/ 2012-03-27 21:06:54 -06:00
Grier Johnson
e3fb7d76ff Ignoring check_minion in a master of master setup
This allows things other than globs to return values back to a master of
masters.  Otherwise the check_minion method sets empty minions and we
get no return back.  If we don't set the minion to something when
we bypass the empty minion check, then we get no return later on
due to the minion being empty.
2012-03-27 19:00:05 -07:00
Thomas S Hatch
8cf2a16ff9 Add tests for the cmd module 2012-03-27 17:05:38 -06:00
Thomas S Hatch
b19520edf7 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-03-27 15:20:23 -06:00
Thomas S Hatch
e06a7a00e4 Add a little something so people know that 0.9.9 is not out yet 2012-03-27 15:19:48 -06:00
Thomas S Hatch
1b77daac8f Initial commit for the 0.9.9 release document
I started this so that we can add things to the release nots as we
develop them, if you add a feature feel free to add it to the release
notes!
2012-03-27 15:18:01 -06:00
Thomas S Hatch
fa48b86f49 Merge pull request #1009 from trane/ssh-spaces
Allow more robust ssh key names in state.ssh_auth
2012-03-27 13:09:34 -07:00
Andrew Kuhnhausen
d0cf0344b2 Fix bug that slipped past commit
This was fixed in testing, didn't make it into last commit
2012-03-27 12:01:59 -06:00
Andrew Kuhnhausen
7cacb20f07 Fix irregularities in testing, update doc
Testing with all permutations, this works great.
2012-03-27 11:57:34 -06:00
Andrew Kuhnhausen
71cb79aa9f Add ability for ssh key name to include options, enc, comment
This adds the following possible names for ssh keys:
{options} {enc} {key} {comment}
{options} {enc} {key}
{enc} {key} {comment}
{enc} {key}
{key} {comment}
{key}
2012-03-27 11:27:37 -06:00
Jeff Schroeder
3a245aa077 Merge pull request #1007 from fatbox/fix-1e8e75d
Ensure the correct args are passed to jid_dir
2012-03-27 10:05:25 -07:00
Evan Borgstrom
b752066dd1 Ensure the correct args are passed to jid_dir 2012-03-27 12:53:38 -04:00
Thomas S Hatch
56210fbf10 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-03-26 23:18:07 -06:00
Thomas S Hatch
5cbc724ba5 Add disk tests 2012-03-26 23:13:36 -06:00
Thomas S Hatch
264e449e3d Merge pull request #1004 from UtahDave/fix_wol_example
Fix the CLI example
2012-03-26 20:48:33 -07:00
David Boucha
2a40427c62 Fix the CLI example 2012-03-26 19:26:42 -06:00
Thomas S Hatch
8714418920 Wrap chack in try/except block 2012-03-26 15:02:48 -06:00
Thomas S Hatch
ca35e4fe7d Fix #1002 2012-03-26 13:53:11 -06:00
Thomas S Hatch
b5255cff31 remove incorrect commas from the master config template, fix #1001 2012-03-25 09:48:11 -06:00
Thomas S Hatch
7c7e1e6159 Add daemonize_if to highstate and sls functions
This addition makes it so that you can now manage the salt minion
process cleanly with Salt, the result is that the process that the
remote call is running in detatches (daemonizes) the minion process that
is running. This only works if multiprocessing is set to true in the
minion config, which is the default
2012-03-24 23:58:17 -06:00
Thomas S Hatch
1c224dabc5 Add daemonize_if function for stock daemonize of module multiprocs 2012-03-24 23:57:29 -06:00
Thomas S Hatch
cc174936d0 Resolve grains by all lowercase strings, resolves #996 2012-03-24 23:19:26 -06:00
Thomas S Hatch
2b14b15dad Add note about python stack on RHEL5, Fix #999 2012-03-24 23:01:56 -06:00
Thomas S Hatch
ea01791a8d finish fixing jobs runner for new hash storage of jobs 2012-03-24 22:53:39 -06:00
Thomas S Hatch
96df9de51a Adress #1000 with check for bad passed data in confirm_top 2012-03-24 22:34:18 -06:00
Thomas S Hatch
d05a600d79 update jobs.active to support new hashed jobs 2012-03-24 22:20:16 -06:00
Thomas S Hatch
fd7b58b1af Add followlinks to os.walk for searching the file server
Fixes #985
2012-03-24 21:20:20 -06:00
Thomas S Hatch
6c25bb24a2 fix issue with syndic resolution of master 1p 2012-03-24 11:51:24 -06:00
Thomas S Hatch
1e8e75de17 update master.py to use the new hashed job directory 2012-03-24 01:03:39 -06:00
Thomas S Hatch
ab537ae4cf Update client.py to use the new hashed jid system 2012-03-24 01:03:17 -06:00
Thomas S Hatch
e39520465f Add new jid resolution routines to utils
The job dir has just been hashed, these commits change the job directory
to no longer use job ids but use hashes of the job ids to raise the
maximum number of jobs that can be cached
2012-03-24 01:00:48 -06:00
Thomas S Hatch
19b0cae42c plug in and verify top file data verification 2012-03-23 17:48:24 -06:00
Thomas S Hatch
0a1b99e5ea refactor top data verification 2012-03-23 16:46:07 -06:00
Jeff Schroeder
1c4a75a644 Merge pull request #998 from codysoyland/develop
Fix upstart status command
2012-03-23 10:26:57 -07:00
Cody Soyland
3fd30a62a1 Fix upstart status command to check output instead of retcode (which is always 0). 2012-03-23 12:20:22 -05:00
Thomas S Hatch
ad1373a0eb Merge pull request #993 from trane/verify_top
Verify top file return failure on invalid (#345)
2012-03-23 08:58:17 -07:00
Jeff Schroeder
068cbdb735 Merge pull request #994 from fatbox/non-unique-users
Allow non-unique users
2012-03-23 08:40:45 -07:00
Jeff Schroeder
ac48187ec1 Merge pull request #995 from trane/apt_pkg_version
Add version support to apt module (#448)
2012-03-23 08:25:29 -07:00
Andrew Kuhnhausen
e7c9c46685 Update usage doc for pkg.installed (ref #448)
Support is included in apt
2012-03-23 09:11:29 -06:00
Andrew Kuhnhausen
f41863613e Add package versioning support to apt module
This patch is for when verioning packages is supported in pkg, it won't affect
anything if support is not included.
2012-03-23 08:40:45 -06:00
Andrew Kuhnhausen
5e49e63da0 Return a list of errors on invalid top file
If the top file uses an empty string as a key, return the top file that includes
the error
2012-03-23 08:26:01 -06:00
Evan Borgstrom
e85ea68c81 Allow non-unique users 2012-03-23 09:45:20 -04:00