Commit Graph

72439 Commits

Author SHA1 Message Date
Mike Place
a3fda33c42 Merge pull request #35248 from rallytime/remove-vsphere
Remove deprecated vsphere cloud driver in Carbon release
2016-08-06 17:01:39 +09:00
Mike Place
9135b9f8bf Merge pull request #35238 from rallytime/fix-35013
Add M2Crypto dependency notation to x509 module and state docs
2016-08-06 16:56:31 +09:00
Mike Place
a55f46f37f Merge pull request #35246 from jtand/py3_versions_support
Python3 support for versions-report
2016-08-06 16:56:01 +09:00
Mike Place
4f2b8aa5b6 Merge pull request #35240 from derekmaciel/bp-35225
Backport #35225 to 2015.8
2016-08-06 16:54:19 +09:00
Mike Place
4bcfaa97d0 Merge pull request #35241 from terminalmage/gitfs-fixes
Ensure max recursion in gitfs results in no blob object being returned.
2016-08-06 16:53:49 +09:00
Mike Place
2e9fa3799c Merge pull request #35244 from rallytime/bp-31677
Back-port #31677 to 2016.3
2016-08-06 16:53:27 +09:00
Mike Place
f6d7360e0b Merge pull request #35245 from rallytime/bp-35039
Back-port #35039 to 2015.8
2016-08-06 16:52:44 +09:00
Mike Place
d65a5c7134 Merge pull request #35249 from terminalmage/issue35214
Fix regression in git.latest
2016-08-06 16:52:15 +09:00
Erik Johnson
bcd5129e9f Fix regression in git.latest when update is fast-forward 2016-08-05 20:49:27 -05:00
Erik Johnson
e2e8bbbfde Add integration test for #35214 2016-08-05 20:47:24 -05:00
rallytime
80a6302a21 Pylint fix 2016-08-05 16:47:30 -06:00
Garrett Heel
0594f53f7d Don't log to root logger 2016-08-05 15:36:33 -07:00
rallytime
9216e8ad93 Remove deprecated vsphere cloud driver in Carbon release
This driver has been marked for deprecation and removal in Carbon.
Release notes were updated accordingly.

Users will need to use the vmware cloud driver instead.
2016-08-05 16:16:12 -06:00
rallytime
51d22112d7 Docs cleanup 2016-08-05 16:02:37 -06:00
rallytime
4d6b214380 Remove deprecated zpool_list function in zpool module 2016-08-05 15:47:52 -06:00
Justin Anderson
27e3ff4289 Python3 support for versions-report 2016-08-05 15:38:46 -06:00
Seth House
51ab9cd6d4 Add saltenv support to module.run
This kwarg gets stripped by the state compiler before this function is
ever invoked.
2016-08-05 15:23:42 -06:00
Mikhael A
45d563d5ac Return correct value for services that must be enabled in Systemd, not in SysV
This fixes situations, when a server switched from SysV to Systemd.
SysV symlinks are still in place and Salt incorrectly determines, that
service is already enabled.

For example:
~$ salt-call --local service.enabled spamassassin
[INFO    ] Executing command 'systemctl is-enabled spamassassin.service'
[INFO    ] Executing command 'runlevel' in directory '/root'
local:
    True

However:

~$ systemctl is-enabled spamassassin.service
disabled

~$ find /etc/rc*.d/ -name
'*spamassassin'
/etc/rc0.d/K02spamassassin
/etc/rc1.d/K02spamassassin
/etc/rc2.d/S02spamassassin
/etc/rc3.d/S02spamassassin
/etc/rc4.d/S02spamassassin
/etc/rc5.d/S02spamassassin
/etc/rc6.d/K02spamassassin
2016-08-05 15:16:47 -06:00
rallytime
a0dd435304 Remove carbon deprecations from the virt runner
Several functions were removed as well as any references to the "hyper"
kwarg. "host" should be used instead.

Release notes were also updated with this information.
2016-08-05 15:08:43 -06:00
rallytime
8f76d92b72 Remove use of always kwarg in pgkbuild.built state: deprecated
This has been deprecated and marked for removal in Carbon. Also added
a note to the release notes about this change. Use 'force' instead.
2016-08-05 14:48:54 -06:00
rallytime
c99c7969c3 Remove deprecated created, started, and cloned functions from lxc state
Also updates the Carbon release notes to include these removals and
includes which functions replace the deprecated functions
2016-08-05 14:26:46 -06:00
Erik Johnson
e05648cc2d Break from loop when file is found 2016-08-05 14:08:24 -05:00
Erik Johnson
6764a88601 Ensure that failed recursion results in no blob object being returned 2016-08-05 14:07:50 -05:00
rallytime
5dad736f3c Add hash_hostname, iam utils funcs, and ip_in_subnet deprecations to Carbon release notes 2016-08-05 13:07:18 -06:00
rallytime
023192c172 Remove uses of hash_hostname in ssh module and ssh_known_hosts state
This has been deprecated and marked for removal in Carbon
2016-08-05 12:58:04 -06:00
rallytime
2322f9e7f3 Remove get_iam_region and get_iam_metadata from salt.utils.iam
These functions have been deprecated and marked for removal in Carbon.
2016-08-05 12:35:50 -06:00
rallytime
70cc2a96f6 Remove ip_in_subnet function from salt.utils.network
It has been deprecated and marked for removal in Carbon.
2016-08-05 12:28:50 -06:00
Derek Maciel
9ed47f713a Add missing documentation for pkg.installed 2016-08-05 13:27:07 -04:00
Justin Zandbergen
30f0f657ce Re-added accidentally removed line 85 2016-08-05 19:21:01 +02:00
Justin Zandbergen
22ac5fc56a Fixed issue #35198 now without deprecated code. 2016-08-05 19:10:43 +02:00
Garrett Heel
b984c7caa7 Add version to new states and module functions 2016-08-05 09:43:32 -07:00
rallytime
d0368d5f08 Add M2Crypto dependency notation to x509 module and state docs
Fixes #35013
2016-08-05 10:36:51 -06:00
Andrei Mircescu
fe0bd5dd71 check for bucket creation before returning on it 2016-08-05 19:04:19 +03:00
Derek Maciel
9ade78de7b Revise unnecessary code duplication 2016-08-05 09:57:29 -06:00
Derek Maciel
7c15f5b20a Fix formatting 2016-08-05 09:57:29 -06:00
Derek Maciel
64f93f8938 Assume two EVRs are equal if E and V are equal but one R is missing. 2016-08-05 09:57:29 -06:00
anthony-shaw
a4a7d09e44 commit fix 2016-08-05 09:52:46 -06:00
anthony-shaw
cdceca6767 fix clrf 2016-08-05 09:52:34 -06:00
anthony-shaw
12c4559705 add a test to check existing functionality is broken 2016-08-05 09:52:15 -06:00
Molly Kreis
c075722b70 win_system: Consider an empty computer description valid
Calling {get,set}_computer_desc should allow for setting and
getting an empty string as the computer description without
returning the error value of False.

Signed-off-by: Molly Kreis <molly.kreis@ni.com>
2016-08-05 10:50:51 -05:00
Nathan Delhaye
f75eb2ecc7 Fix runas in code order and make the check_password work with the new >3.5.7 version 2016-08-05 17:13:15 +02:00
Erik Johnson
730a077041 Do not attempt to get fqdn_ip{4,6} grains when ipv{4,6} grains are empty
This prevents DNS resolution issues from causing ``salt-call --local``
to hang.

Resolves #32719.
2016-08-05 09:25:47 -05:00
Nathan Delhaye
4d8119b88b fix rabbitmq version detection using a package-agnostic version
Fixes #34481
Fixes #35003
Fixes #33588
2016-08-05 16:01:41 +02:00
Erik Johnson
05a79a54b1 Merge pull request #35225 from derekmaciel/develop
Add missing documentation for pkg.installed
2016-08-05 07:50:02 -05:00
Garrett Heel
128fed5ac3 Add team-related functionality to github module 2016-08-04 23:02:41 -07:00
Derek Maciel
a100416382 Add missing documentation for pkg.installed 2016-08-05 00:20:07 -04:00
Derek Maciel
6c795bc4a2 Simplify return value to "True".
It is fine to return True here because, in the event that the directory
cannot be created, an exception can be raised anyway.
2016-08-05 00:00:21 -04:00
Erik Johnson
d5d6030bbe Fix for RemoteClient _file_find calls when response is not a dict
This is an edge case I did not encounter in my testing.

Also caught a problem with the LocalClient's hash_and_stat_file func,
and improved the try/except when grabbing the stat_result from the
minion's locally-cached copy of the file.

Fixes #35219.
2016-08-04 22:10:24 -05:00
rallytime
807c1729ba PY3: Use assertCountEqual instead of assertItemsEqual
assertItemsEqual is deprecated in Python 3 and replaced by assertCountEqual
2016-08-04 15:13:08 -06:00
rallytime
49daa35fee Use floor division to force mem_total grain to be an integer
Python 3 automatically changes int/int to a float type, but we want
and int here.
2016-08-04 15:13:08 -06:00