Commit Graph

6752 Commits

Author SHA1 Message Date
Pedro Algarvio
16773901e4 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-10-05 08:00:12 +01:00
Pedro Algarvio
496906e413 Add exsel shell match test.
Although this commit does not exactly reference the problem see on #2167, it was added while working for that issue.
2012-10-05 07:56:23 +01:00
Thomas S Hatch
a5db53e39d Merge branch 'develop' of github.com:saltstack/salt into develop 2012-10-05 00:30:30 -06:00
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
Pedro Algarvio
eb22aa5f49 Allow some more time to get the tests events notifications. 2012-10-05 07:15:00 +01:00
Pedro Algarvio
ac1fe9810a Point hosts.file and aliases.file to the new tests temporary dir. 2012-10-05 07:10:53 +01:00
Thomas S Hatch
746ddf76e6 Merge pull request #2172 from s0undt3ch/issues/1935
Stop race condition of reading a file before written to. Refs #1935.
2012-10-04 22:39:59 -07:00
Pedro Algarvio
1fe5d444a7 Stop race condition of reading a file before written to. Refs #1935.
This issue started to appear at some random times. After some hours narrowing down the problem I came to the conclusion that, on some systems, specially under heavy load the file was being read before it was fully written to. This behaviour was visible on a local vagrant machine, and also on travis-ci which also uses vagrant, so, it might actually be an issue with the vagrant(VirtualBox) filesystem access. Anyway, using the atomic open we seem to completely avoid this issue. Not closing ticket just yet so we can keep checking if this is really gone.
2012-10-05 06:25:45 +01: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