Commit Graph

57793 Commits

Author SHA1 Message Date
Colton Myers
95e70f0bef Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
Conflicts:
    salt/config.py
    salt/minion.py
    salt/modules/yumpkg.py
    salt/runners/ssh.py
    salt/states/git.py
    salt/states/http.py
2015-09-22 15:20:17 -06:00
Colton Myers
ca4597b93a Merge pull request #27310 from basepi/merge-forward-2015.5
[2015.5] Merge forward from 2014.7 to 2015.5
2015-09-22 15:08:41 -06:00
Colton Myers
7b75e4aed1 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.5 2015-09-22 15:07:45 -06:00
Colton Myers
982c21c79f Merge pull request #27308 from terminalmage/fix-refresh_db-regression
Fix refresh_db regression in yumpkg.py
2015-09-22 15:07:28 -06:00
Erik Johnson
77686fb7ce Fix refresh_db regression in yumpkg.py
739b2ef introduced a regression by changing this function to passing a
list of arguments. The regression was also partly caused by requiring
the user to pass the yum CLI arguments for enabling and disabling repos
manually. So if someone passed multiple values for the repo argument
(e.g. repo='--disablerepo="*" --enablerepo=anotherrepo') then these
would both end up in the same list element, which would cause the yum
command to fail as they would be expected by yum to be a single argument
instead of separate arguments.

This commit reverts the changes from 739b2ef and also changes the
inconsistent behavior of requiring the repo options to be manually
submitted, making this function instead work like all the other
functions (install(), etc.) which interpret the Salt CLI kwargs to
figure out which repo options to use.

Fixes #27307.
2015-09-22 15:11:33 -05:00
Justin Findlay
c3b690273b Merge pull request #27303 from jacobhammons/ref-updates
Updated module doc index using https://github.com/saltstack/salt/pull
2015-09-22 13:29:04 -06:00
Mike Place
aaa2db9943 Merge pull request #27301 from twangboy/fix_27081
Pass ca_bundle for windows (fixes SSL Error)
2015-09-22 13:00:44 -06:00
Jacob Hammons
7ac98a03b6 Updated module doc index using https://github.com/saltstack/salt/pull/27203 2015-09-22 11:54:34 -06:00
twangboy
5c4f5f8944 Changed windows gate to check for verify_ssl option 2015-09-22 11:35:19 -06:00
Mike Place
55f4050146 Merge pull request #27300 from rallytime/bp-27287
Back-port #27287 to 2015.8
2015-09-22 10:59:07 -06:00
Mike Place
775a4f9ad0 Merge pull request #27286 from terminalmage/return_retry_timer
Add a configurable timer for minion return retries
2015-09-22 10:35:07 -06:00
twangboy
e2fe5a60b5 Pass ca_bundle for windows (fixes SSL Error) 2015-09-22 10:33:28 -06:00
rhealitycheck
e49a6dc449 Update mongo_return.py
same patch as for the future return. allows users to use older versions of pymongo if desired or the most recent ones.
2015-09-22 09:35:07 -06:00
rhealitycheck
63153322b9 Update mongo_future_return.py
Tracks the version so that it can compare pymongo versions and support older versions as well as the new versions that don't support "Connection"
2015-09-22 09:35:07 -06:00
Justin Findlay
d96462af48 Merge pull request #27288 from rallytime/do-cleanup
Filter on 'name', not 'id', when listing images
2015-09-21 16:37:26 -06:00
Erik Johnson
540a7dfcf1 Add default values for new minion config options 2015-09-21 16:49:53 -05:00
Erik Johnson
453b883820 Add a configurable timer for minion return retries
When a minion return cannot be processed in a timely manner, a
SaltReqTimeoutError is raised. However, the default wait time before the
minion will retry sending the return data was not being passed, so it
would wait a full 60 seconds.

This reduces that timeout to (by default) a maximum of 4 seconds, and
randomizes it to prevent a retry flood as you scale up the number of
minions.
2015-09-21 16:49:53 -05:00
rallytime
6e16fad760 Use name in all places, not id. 2015-09-21 14:36:49 -06:00
rallytime
9b34542cb0 Filter on 'name', not 'id', when listing images
And fix doc example of what --list-images looks like
2015-09-21 14:35:22 -06:00
Justin Findlay
02482c0572 Merge pull request #27278 from rallytime/bp-27256
Back-port #27256 to 2015.5
2015-09-21 13:27:51 -06:00
Justin Findlay
688f24e9e4 Merge pull request #27283 from jtand/yumpkg_yum_fix
__grains__['osrelease'] returns a string
2015-09-21 13:18:44 -06:00
Justin Findlay
e36c019c37 Merge pull request #27277 from rallytime/bp-27230
Back-port #27230 to 2015.5
2015-09-21 13:06:13 -06:00
Justin Findlay
78d44a5c74 Merge pull request #27276 from rallytime/bp-27218
Back-port #27218 to 2015.8
2015-09-21 13:05:54 -06:00
Justin Findlay
d5ce81e8e7 Merge pull request #27275 from rallytime/bp-27213
Back-port #27213 to 2015.8
2015-09-21 13:05:18 -06:00
Nicole Thomas
2be21d6451 Merge pull request #27274 from rallytime/bp-27272
Back-port #27272 to 2015.8
2015-09-21 12:54:48 -06:00
justinta89
b73f5289b4 __grains__['osrelease'] returns a string. Cast to int for correct comparison 2015-09-21 12:03:30 -06:00
Justin Findlay
c0943dd4d1 Merge pull request #27271 from isbm/isbm-bufix-27270
Bugfix: crash on token authentication via API
2015-09-21 09:53:09 -06:00
Joseph Hall
b11ce6ac2a Merge pull request #27251 from rallytime/fix-19947
Add support for post_uri in SoftLayer cloud drivers
2015-09-21 09:43:16 -06:00
Julian Brost
1beddf6311 Fix error handling in salt.modules.file.statvfs
The old error messaged printed the wrong variable and was also
misleading as statvfs does not create any files.
2015-09-21 09:38:33 -06:00
Ben Hosmer
3ce77db1bc Fix typo in AWS doc config 2015-09-21 09:36:46 -06:00
Nasenbaer
8c0991d527 fixes #27217 clear_old_remotes clears wrong directory (gitfs) 2015-09-21 09:34:48 -06:00
macgyver13
5d4c90c479 Make get_event compatible with salt/client 2015-09-21 09:33:04 -06:00
Joseph Hall
f3ea3259a5 Make sure list_nodes_full contains a name attribute 2015-09-21 09:28:35 -06:00
Bo Maryniuk
fc524c17b9 Reduce the criteria that would match empty iterables as well as None or False values 2015-09-21 15:52:27 +02:00
Bo Maryniuk
3152af78b5 Fix the crash on token auth via API (http://git.io/vn4tx) 2015-09-21 15:48:07 +02:00
Justin Findlay
de6e5abe6c Merge pull request #27260 from bechtoldt/missing_refs
add missing module doc references
2015-09-20 23:48:37 -06:00
Arnold Bechtoldt
3a7d31a91c add missing module references 2015-09-20 13:22:32 +02:00
Justin Findlay
1a32b9f778 Merge pull request #27254 from jfindlay/version.2015.8
2015.2,2015.8,Beryllium -> 2015.8.0
2015-09-18 17:44:46 -06:00
Justin Findlay
b22286476e Merge pull request #27253 from jfindlay/version.2015.5
2015.5 -> 2015.5.0
2015-09-18 17:44:43 -06:00
Justin Findlay
e90412d3b8 Merge pull request #27252 from jfindlay/version.2014.7
2014.7 -> 2014.7.0
2015-09-18 17:44:39 -06:00
Justin Findlay
8ea15f498e 2015.2,2015.8,Beryllium -> 2015.8.0
Some features were erroneously reported as being added in 2015.2.
2015-09-18 16:35:15 -06:00
Justin Findlay
967e3bb72a 2015.5 -> 2015.5.0 2015-09-18 16:27:02 -06:00
rallytime
aafb776808 Add support for post_uri in SoftLayer cloud drivers 2015-09-18 16:24:51 -06:00
Justin Findlay
3d28307a00 2014.7 -> 2014.7.0 2015-09-18 16:08:47 -06:00
Mike Place
f3a847823b Merge pull request #27245 from rallytime/fix-25079
If two ssh keynames are found in DigitalOcean, abort and warn the user.
2015-09-18 15:42:36 -06:00
Mike Place
51a0193b54 Merge pull request #27244 from garethgreenaway/ec2_create_snapshot_no_return_data_exception
Exception in cloud.ec2.create_snapshot
2015-09-18 15:41:11 -06:00
Mike Place
e4a5b004ae Merge pull request #27241 from jfindlay/yumwarn
osrelease is only an integer for fedora
2015-09-18 15:40:50 -06:00
Justin Findlay
f8e71f6d7d Merge pull request #27234 from basepi/merge-forward-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
2015-09-18 14:41:38 -06:00
Justin Findlay
2d6c75cbd7 Merge pull request #27240 from isbm/isbm-pkg.info-tz-bugfix-backport-2015.8
Backport of the fix of 'pkg.info*' for Beryllium
2015-09-18 14:02:15 -06:00
Justin Findlay
80a45b74ed Merge pull request #27223 from M2Mobi/zone
Support firewalld per interface zone config on rh7 systems
2015-09-18 13:44:45 -06:00