Commit Graph

6745 Commits

Author SHA1 Message Date
Thomas S Hatch
3547bacb3c Change local client args preps into kwargs
I am doignthis because it is cleaner, but primarily because it
will be easy to integrate the external auth system
2012-10-05 00:28:35 -06:00
Thomas S Hatch
85fa73ec76 add key fallback for eauth support 2012-10-04 23:04:06 -06:00
Thomas S Hatch
5aae1ac1aa Merge branch 'develop' of github.com:saltstack/salt into develop 2012-10-04 20:53:29 -06:00
Thomas S Hatch
7eb909871f Be less restrictive when creating directories 2012-10-04 20:52:42 -06:00
Thomas S Hatch
793d292a7a Merge pull request #2171 from s0undt3ch/develop
Switch integration `tmp` to the system's temporary directory.
2012-10-04 19:26:28 -07:00
Thomas S Hatch
c085edcd2d Merge pull request #2170 from jraman/develop
fix grains['ps'] for BSD
2012-10-04 19:06:03 -07:00
Pedro Algarvio
85c6664538 Fix running tests using python setup.py tests. I was deleting it too soon and not re-creating it. Increase tests verbosity on travis-ci. 2012-10-05 02:45:35 +01:00
Pedro Algarvio
c976e4222c include tests/integration/tmp/_README no longer exists. Remove it from MANIFEST.in. 2012-10-05 02:10:33 +01:00
jraman
a5b8f50f95 fix grains['ps'] for BSD 2012-10-04 18:06:28 -07:00
Seth House
075d8601d6 Added testing docs to TOC & index 2012-10-04 18:52:51 -06:00
Seth House
789d6b596e Readded missing "installation" target 2012-10-04 18:52:51 -06:00
Seth House
540c71b34a Removed FreeBSD install instructions from index; already on install page 2012-10-04 18:52:51 -06:00
Seth House
47a1ede6f4 Moved the Esky docs to topics & added to the TOC 2012-10-04 18:52:51 -06:00
Seth House
4246b27ff0 Fixed misc rST syntax errors 2012-10-04 18:52:51 -06:00
Seth House
5e5a51c49c Sorted mocked modules list for better readin' 2012-10-04 18:52:51 -06:00
Seth House
c5302ae0d6 Added new/missing modules/states to docs TOC & generated files 2012-10-04 18:52:50 -06:00
Seth House
21b35b498a Added django to mocked modules for building documentation 2012-10-04 18:52:50 -06:00
Pedro Algarvio
b2a0b6e5fb Merge branch 'develop' of github.com:saltstack/salt into develop 2012-10-05 00:58:58 +01:00
Thomas S Hatch
4745a43701 More structure updates for eauth system 2012-10-04 17:57:26 -06:00
Thomas S Hatch
47badd1b7c import inspect 2012-10-04 17:52:10 -06:00
Pedro Algarvio
b6cb78364f Switch integration tmp to the system's temporary directory.
While running the tests within a VirtualBox(vagrant) machine, if the salt source is mounted using shared folders, any tests involving hard links WILL fail. Any tests involving symlinks, can be made to work by setting some properties on the VirtualBox shared folder. By moving the tests `tmp` directory to `tempfile.gettempdir()` we avoid this false test case errors.
2012-10-05 00:52:00 +01:00
Thomas S Hatch
6e77cff5d3 update to the loadauth name 2012-10-04 17:50:15 -06:00
Thomas S Hatch
09faf99eb7 update for structure changes 2012-10-04 17:49:13 -06:00
Thomas S Hatch
93d87db1a5 update the publish method to use the new structure that is being passed in 2012-10-04 17:12:58 -06:00
Thomas S Hatch
5616b0fb57 Finish linking in the kwargs 2012-10-04 17:05:28 -06:00
Thomas S Hatch
cfba5edfbb Link in kwargs 2012-10-04 16:29:39 -06:00
Thomas S Hatch
626c9b80e0 Make the client accept kwargs and pass them on 2012-10-04 16:11:30 -06:00
Thomas S Hatch
c11240356c Merge pull request #2164 from whiteinge/salt-refactor-client-cmds
Salt refactor client cmds
2012-10-04 14:51:36 -07:00
Thomas S Hatch
382ab38e45 Merge pull request #2169 from seanchannel/develop
stop respawning
2012-10-04 14:26:36 -07:00
Sean Channel
4f828f68d8 stop respawning 2012-10-04 14:22:12 -07:00
Sean Channel
17ed662507 stop respawning
we are not tty login program (getty).
2012-10-04 14:20:40 -07:00
Thomas S Hatch
6bbef3df8e Merge pull request #2168 from archtaku/develop
Add Subnet/IP address matcher
2012-10-04 13:16:04 -07:00
Thomas S Hatch
11eb9f18d7 Merge pull request #2165 from seanchannel/develop
Update doc/ref/clientacl.rst
2012-10-04 12:56:53 -07:00
Erik Johnson
3eed6c857e Add Subnet/IP address matcher
This implements #653. Note that there appears to be an underlying
problem with how highstates instantiate Matcher objects, which is
keeping this from working in an SLS file. See issue #2167 for more
details on that.
2012-10-04 13:02:59 -05:00
Sean Channel
22baa7ca69 Update doc/ref/clientacl.rst
delete extra 's' on the key removal
2012-10-04 10:48:12 -07:00
Seth House
1376da9706 Refactored out repeated code in the various cmd_* LocalClient methods 2012-10-04 11:37:50 -06:00
Seth House
9827122267 Added reusable helpers for sending a pub and checking the return 2012-10-04 11:37:50 -06:00
Thomas S Hatch
94ac95fe40 Merge pull request #2163 from FireHost/add_ext_pillar_stacktrace
Add stack trace to ext_pillar load failures.
2012-10-04 09:27:23 -07:00
Thomas S Hatch
bd663831e9 Merge pull request #2161 from marcinkuzminski/patch-3
fixes for mysql user_exists function
2012-10-04 09:16:26 -07:00
Thomas S Hatch
ab294b19e7 Merge pull request #2160 from archtaku/develop
Implement #2114, fix group-handling bugs
2012-10-04 09:10:52 -07:00
Aaron Tygart
e6af1f9472 Add stack trace to ext_pillar load failures. 2012-10-04 10:57:09 -05:00
Marcin Kuźmiński
2c5b7d8908 Update salt/modules/mysql.py
fixed query formatting on user_exists that caused this function to always fail
2012-10-04 13:01:42 +03:00
Erik Johnson
9268295895 apparently sorted() was needed after all 2012-10-04 03:10:59 -05:00
Erik Johnson
8ed7e05ab4 Fix group-handling edge case
This commit fixes errors when either groups or optional_groups is not
specified in the user.present state.
2012-10-04 03:05:17 -05:00
Erik Johnson
618a8252fc remove unnecessary call to sorted() 2012-10-04 02:46:24 -05:00
Erik Johnson
f6908b90c5 Implement #2114, fix group-handling bugs
This commit accomplishes the following tasks:

1) #2114 is implemented, bringing an "optional_groups" parameter to the
   user.present state.

2) salt/modules/{groupadd,pw_group}.py had a bug in the "info" function
   which resulted in a traceback when called for a nonexistant group.
   This is now fixed.

3) A major bug with group handling in the user.present state has been
   fixed. See the below comment for a detailed explanation of the bug.

https://github.com/saltstack/salt/issues/2114#issuecomment-9132470
2012-10-04 02:32:52 -05:00
Thomas S Hatch
3430b4ede2 Fix external_auth to reflect current capabilities 2012-10-04 00:11:16 -06:00
Thomas S Hatch
73b654591d New vimrc needs some love... 2012-10-04 00:03:55 -06:00
Thomas S Hatch
283749d61a I do this too often... 2012-10-04 00:00:16 -06:00
Thomas S Hatch
039e367ebe Add external_auth to master default config 2012-10-03 23:55:28 -06:00