Commit Graph

80844 Commits

Author SHA1 Message Date
Mike Place
ad4d6839fd Merge pull request #40675 from gtmanfred/2016.11
use loader for getting war version
2017-04-13 13:58:30 -06:00
Mike Place
7ea526f59e Merge pull request #40680 from rallytime/bp-40598
Back-port #40598 to 2016.11
2017-04-13 13:58:16 -06:00
Mike Place
dccc789a7e Merge pull request #40683 from gtmanfred/nitrogen
make a list of kwargs keys
2017-04-13 13:57:15 -06:00
twangboy
b6ac4aa86d Fix service for win10 update 2017-04-13 13:51:15 -06:00
rallytime
e440d2e8af Use self.setGrains as context manager in grains test 2017-04-13 13:39:11 -06:00
Mike Place
db68df23dd Merge pull request #40681 from cachedout/status_beacon
Allow status beacon to run on all operating systems
2017-04-13 13:33:10 -06:00
Nicole Thomas
39dd6e284d Merge pull request #40678 from Ch3LL/fix_mac_fstype
fix test_fstype test for mac
2017-04-13 13:20:31 -06:00
Ch3LL
e30afc4c01
add exception type 2017-04-13 15:06:12 -04:00
Ch3LL
acf333df08
change errno code for fileclient test 2017-04-13 14:56:45 -04:00
rallytime
3d6c983c69 Remove unused import for lint 2017-04-13 11:52:20 -06:00
Daniel Wallace
a61fc824c4 use loader for war extraction
Also set the version added in the docs
2017-04-13 11:51:22 -06:00
Mike Place
cc1643eb1f Fix netapi lint 2017-04-13 11:40:27 -06:00
Mike Place
cfc282f036 Merge pull request #40684 from cachedout/fix_netapi_lint
Fix netapi lint
2017-04-13 11:34:12 -06:00
Mike Place
54b5415ddd
Fix netapi lint 2017-04-13 11:33:12 -06:00
Daniel Wallace
f6761e6025 make a list of kwargs keys
kwargs changes size in the for loop, so we need to instantiate a new list of
keys for the kwargs

Fixes #40682
2017-04-13 11:14:51 -06:00
Mike Place
ecbb0d186f
Allow status beacon to run on all operating systems 2017-04-13 10:32:25 -06:00
Christian McHugh
e790930f5a re-add batch support to cherrypy saltapi 2017-04-13 10:19:48 -06:00
Christian McHugh
6eec04b2db pop out of kwargs 2017-04-13 10:19:48 -06:00
Christian McHugh
260dd84758 Create eauth dict for passing into batch class 2017-04-13 10:19:48 -06:00
Christian McHugh
5fb8190d44 Ensure batch uses passed eauth token or credentials 2017-04-13 10:19:48 -06:00
rallytime
17efc7341c Merge branch '2016.11' into 'nitrogen'
Conflicts:
  - salt/modules/win_wua.py
  - salt/netapi/rest_cherrypy/app.py
  - salt/version.py
  - tests/unit/states/grains_test.py
  - tests/unit/states/test_archive.py
2017-04-13 10:14:51 -06:00
Ch3LL
60724980ec
fix test_fstype test for mac 2017-04-13 12:04:20 -04:00
Mike Place
49d7124fe5 Merge pull request #40598 from mchugh19/batch_eauth
Ensure batch uses passed eauth token or credentials
2017-04-13 09:44:45 -06:00
Mike Place
4690633e0f Merge pull request #40659 from gtmanfred/ssh
encode for py3
2017-04-13 09:40:59 -06:00
Mike Place
14a5b43216 Merge pull request #40674 from Juniper/nitrogen
new functions for junos modules (lock, unlock, load, commit_check) and changes to install_config
2017-04-13 09:36:03 -06:00
rajvidhimar
060974f9b7 Fix doc for junos install_config in state module 2017-04-13 15:35:13 +05:30
rajvidhimar
50a4f94ec0 Add new functions in junos (lock, unlock, load, commit_check) and doc changes 2017-04-13 15:35:13 +05:30
Daniel Wallace
bfc34d4825 encode for py3
Fixes #40434
2017-04-12 15:32:07 -06:00
Christian McHugh
ee66c7ca38 re-add batch support to cherrypy saltapi 2017-04-12 22:07:15 +01:00
Mike Place
6df76f6687 Merge pull request #40665 from rallytime/bp-35665
Back-port #35665 to 2016.11
2017-04-12 15:06:36 -06:00
Mike Place
3e41a248a5 Merge pull request #40666 from gtmanfred/userdata
make sure userdata is always defined in ec2
2017-04-12 15:05:59 -06:00
Daniel Wallace
5e92fd0948 make sure userdata is always defined in ec2 2017-04-12 13:48:49 -06:00
Mike Place
b245abbea5 Merge pull request #40662 from twangboy/backport_msi_versioning
Backport msi-conformant-version function
2017-04-12 12:49:22 -06:00
Mike Place
92b5f03beb Merge pull request #40551 from terminalmage/issue39868
Fix four issues in archive.extracted state
2017-04-12 12:37:51 -06:00
Scott Thrasher
0f897b2426 Switch from comprehension to logic used in jobs runner. This makes it
easier to deal with potential unicode in returns.
2017-04-12 12:35:22 -06:00
Scott Thrasher
78dd629f09 Fix compat issues with /jobs return values.
* ensure that both the return and info keys are lists.
* When the Result key doesn't match the expected shape,
  return an empty list of an empty dict (this matches existing
  behavior when looking for a non-existant JID).
2017-04-12 12:35:22 -06:00
Scott Thrasher
4778bc7365 Speed up /jobs for salt-api when run under cherrypy.
Currently, if a jid is supplied, two runners are run (both
jobs.lookup_jid and jobs.list_job). This is unnecessary because
the return from jobs.list_job contains all of the information
from jobs.lookup_jid as well.

This change runs only jobs.list_job in this case and builds an
appropriate return from the output, netting an ~ 40% decrease
in response time for this endpoint when a jid is supplied.
2017-04-12 12:35:22 -06:00
twangboy
825832812b Backport msi-conformant-version function 2017-04-12 12:00:57 -06:00
Nicole Thomas
ceedbf1a63 Merge pull request #40649 from rallytime/merge-nitrogen
[nitrogen] Merge forward from 2016.11 to nitrogen
2017-04-12 11:18:32 -06:00
Christian McHugh
d818137794 pop out of kwargs 2017-04-12 18:09:51 +01:00
Mike Place
0638418d22 Merge pull request #40637 from twangboy/fix_unicode_issues
Add unicode_literals import
2017-04-12 10:55:02 -06:00
Nicole Thomas
491661f323 Merge pull request #40651 from twangboy/fix_diskusage_py3
Fix status.diskusage for Windows on Py3
2017-04-12 10:21:28 -06:00
Nicole Thomas
3aabd85e53 Merge pull request #40631 from gtmanfred/grains
if grain is defined as None still convert in append
2017-04-12 10:19:16 -06:00
Erik Johnson
a722ca9ccf archive.extracted: also cleanup fileclient's cached location
When skip_verify is True, salt doesn't refetch a remote file it already
has in its cache. So, if "keep" is set to False, we need to remove it as
well as the location from file.managed.
2017-04-12 10:16:18 -05:00
Christian McHugh
10b53911f5 Create eauth dict for passing into batch class 2017-04-12 06:51:18 +01:00
Daniel Wallace
b0bd99c26d add comment and unit test 2017-04-11 21:08:06 -06:00
Mike Place
4af8d08e43 Merge pull request #40581 from terminalmage/release_notes
Make scheduled change to osmajorrrelease grain, clean up Nitrogen release notes
2017-04-11 16:49:15 -06:00
Mike Place
3737289bee Merge pull request #40629 from aabognah/fix-bug-40167
Fixing issue # 40167
2017-04-11 16:45:07 -06:00
twangboy
7c5079ec91 Correct capitalization problem with api call 2017-04-11 16:34:38 -06:00
Mike Place
892d9a5511 Merge pull request #40648 from terminalmage/py3-gitfs-fix
Fix gitfs' write_file functions for Python 3
2017-04-11 16:21:33 -06:00