Commit Graph

66376 Commits

Author SHA1 Message Date
Bo Maryniuk
95ec634f00 Report environment failure, if any 2016-03-03 21:44:14 +01:00
Bo Maryniuk
63eedefe54 Use mixin for the daemon classes 2016-03-03 21:44:14 +01:00
Bo Maryniuk
82dd383630 Create a mixin class that will be reused in the similar instances (daemons) 2016-03-03 21:44:14 +01:00
Bo Maryniuk
36da8f5efa Use MD5 hash algorithm by default (until deprecated) 2016-03-03 21:44:14 +01:00
Bo Maryniuk
584325797c Remove SHA1 in favor of SHA256 2016-03-03 21:44:14 +01:00
Bo Maryniuk
373493c13f Remove SHA1 for SHA256 2016-03-03 21:44:14 +01:00
Bo Maryniuk
d5cb4dd424 Remove sha1 to sha265 2016-03-03 21:43:04 +01:00
Bo Maryniuk
73b8d35e01 Add note to the Tomcat module for SHA256 2016-03-03 21:43:04 +01:00
Bo Maryniuk
efb78f1055 Remove SHA1 to SHA265 by default 2016-03-03 21:43:04 +01:00
Bo Maryniuk
6198976edb Use SHA1 by default instead of MD5 2016-03-03 21:42:18 +01:00
Bo Maryniuk
73f2df76ce Use SHA1 hash by default in Tomcat module, refactor for support different algorithms 2016-03-03 21:42:18 +01:00
Bo Maryniuk
0d4e4e31f8 Use SHA1 hash by default 2016-03-03 21:42:18 +01:00
Bo Maryniuk
785717703b Use configurable hash_type for general Key fingerprinting 2016-03-03 21:42:18 +01:00
Bo Maryniuk
f0d931f4d0 Use hash_type configuration for the Cloud 2016-03-03 21:41:08 +01:00
Bo Maryniuk
95cb59dec7 Set defalt hash as SHA1 in config and explain why. 2016-03-03 21:41:08 +01:00
Bo Maryniuk
8f9543c292 Set config hash_type to SHA1 2016-03-03 21:39:15 +01:00
Bo Maryniuk
413eca124d Set default checksum for key fingerprint to SHA1 2016-03-03 21:39:15 +01:00
Jorge Schrauwen
9aa0f72cad Add some info about massive improvements for SmartOS, illumos, and Solaris 2016-03-03 20:23:38 +00:00
Erik Johnson
290192af56 Remove epoch from version string if present when installing with yum
yum install does not support epoch without the arch, and we won't know
what the arch will be when it's not provided. It could either be the OS
architecture, or 'noarch', and we don't make that distinction in the
pkg.list_pkgs return data.

Fixes #31619.
2016-03-03 13:20:25 -06:00
Mike Place
2ce784fd5f Merge pull request #31635 from twangboy/mac_power_tests
Mac power tests
2016-03-03 11:55:41 -07:00
Andreas Lutro
02684707b6 Add option to not save a backup with file.comment/uncomment 2016-03-03 19:55:40 +01:00
rallytime
6b526b5878 Add mentioned of Salt's Coding Style docs to the Contributing docs 2016-03-03 11:41:46 -07:00
Mike Place
10658dffe6 Merge pull request #31655 from rallytime/pylint-docs
Make note of pylint dependencies in docs
2016-03-03 11:37:06 -07:00
Mike Place
a43e5edc81 Merge pull request #31601 from cro/cfgmgmtcamp
Proxy fixes for #31585 and #31586
2016-03-03 11:34:07 -07:00
Mike Place
2226cb4d27 Merge pull request #31584 from skizunov/develop2
Fix Master AES key rotation on Windows
2016-03-03 11:20:28 -07:00
Mike Place
1ab330a605 Merge pull request #31628 from skizunov/develop3
Use LOOP_CLASS current() to share same IOLoop
2016-03-03 11:14:36 -07:00
rallytime
6e0377d376 Make note of pylint dependencies in docs 2016-03-03 10:56:22 -07:00
C. R. Oldham
76d60a1528 Remove .orig file mistakenly added, reformat example. 2016-03-03 10:48:40 -07:00
twangboy
e953d34492 Add back skipIf decorator 2016-03-03 10:45:57 -07:00
Mike Place
2ed7286af1 Merge pull request #31653 from DSRCompany/issues/29753_multimaster_auth_fail
Don't attempt to verify token if it wasn't sent to master.
2016-03-03 10:39:34 -07:00
Mike Place
118fcde425 Merge pull request #31629 from darix/fix-services-on-sles
Fix services on sles
2016-03-03 09:41:27 -07:00
Mike Place
4d1701de60 Merge pull request #31641 from rallytime/testing-tutorial
Improve Salt Testing tutorial to be a more comprehensive intro
2016-03-03 09:08:47 -07:00
Nicole Thomas
ac4be862f8 Merge pull request #31578 from alprs/feature-saltmod_state_queue
Allow queueing of state runs through saltmod
2016-03-03 09:04:43 -07:00
Mike Place
584f8401b8 Merge pull request #31651 from dr4Ke/test_case_for_30689
test case: test_list_present_nested_already
2016-03-03 09:02:55 -07:00
twangboy
2c4c81f55d Remove mock tests, only test _validate_minutes 2016-03-03 08:54:03 -07:00
twangboy
c181e9fcc5 Merge branch '2016.3' of https://github.com/saltstack/salt into mac_power_tests 2016-03-03 08:52:51 -07:00
Dmitry Kuzmenko
2557707cc7 Don't attempt to verify token if it wasn't sent to master.
In multimaster setup new minion having no master pubkey sends initial
auth requests to each master without token but it tries to verify the
token in the received payload for each master excluding the first.
This happens because minion makes this decision depending on the master
pubkey file existense.
2016-03-03 17:36:37 +03:00
C. R. Oldham
5566f1f2a7 Merge pull request #31643 from Unity-Technologies/hotfix/hg-fix-repo-updated
Make sure we are really updating the mercurial repository
2016-03-03 07:30:53 -07:00
Christophe Drevet-Droguet
fc9dd356e8 test case: test_list_present_nested_already 2016-03-03 15:17:43 +01:00
C. R. Oldham
e397050536 Format the example? 2016-03-03 07:06:55 -07:00
Daniel Hobley
ca41c4b8c1 Make sure we are really updating the mercurial repository
This fixes a bug where if you have any changes pushed to a mercurial repo no matter which revision you specify the state will claim the repository is updated. This also correctly detects when you switch from one branch to another in mercurial even if there are no new changes being pulled.
2016-03-03 08:48:00 +01:00
rallytime
6ab3961748 Improve Salt Testing tutorial to be a more comprehensive intro 2016-03-02 17:07:57 -07:00
C. R. Oldham
1214f48780 Format the example? 2016-03-02 16:11:26 -07:00
Mike Place
74b15dc4d5 Merge pull request #31590 from techhat/moresecure
Make cert perms more secure by default
2016-03-02 15:19:28 -07:00
Mike Place
36c790eede Merge pull request #31598 from terminalmage/issue30761
Remove limitations on validation types for eauth targets
2016-03-02 15:14:41 -07:00
Mike Place
4a7d6a6de1 Merge pull request #31599 from jfindlay/platform
add system name to platform versions report
2016-03-02 15:13:47 -07:00
Sergey Kizunov
fab78ebef6 Fix Master AES key rotation on Windows
Two issues causing this:
- On Windows, `stats.st_mode` is `0o100444` instead of what is checked
for which is `0o100400`. This is because basic Windows permissions
don't distinguish between user/group/all like Linux does. Note that
Windows Access Control Lists (ACLs) are not part of `stat` functionality.
- On Windows, `os.remove` will fail if a file is marked read-only. In
this case, need to mark it writable before deleting.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2016-03-02 16:11:26 -06:00
Mike Place
cc4c31cf7f Merge pull request #31627 from jakehilton/2015.8
Handling error from using gevent 1.1.
2016-03-02 15:01:22 -07:00
Sergey Kizunov
9f64274f9b Use LOOP_CLASS current() to share same IOLoop
This doesn't fix any issues but is an optimization and is the recommended
use in the Tornado docs. `LOOP_CLASS.current()` should be used unless
we want to use a different IOLoop than the main thread's IOLoop.
Not using `current()` makes sense in places such as SyncWrapper and MWorker.

However, for use in places such as `SMinion.__init__()`, what essentially
happens is that one IOLoop is used for the `run_sync()`. The `run_sync()`
invokes `start()`. `start() will make this IOLoop current, but it will put
the original current IOLoop back when it is finished, even if it is None.
So what essentially happens is that one IOLoop is used within the ZeroMQ
and TCP transports during the `run_sync` and another is used during
subsequent operations.

Using `current()` will either use the current IOLoop or create a new one
and call it current if none exists. This plays well with both the
ZeroMQ and TCP transports since they use current() internally and so the
same IOLoop will be used throughout execution, both before and after
the run_sync.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2016-03-02 16:00:05 -06:00
Andreas Lutro
50d91ebc6c allow queueing of state runs through saltmod 2016-03-02 22:18:35 +01:00