Commit Graph

81069 Commits

Author SHA1 Message Date
twangboy
57d5f781f4 Use req files in pkg\windows for setup 2017-04-27 09:47:46 -06:00
Erik Johnson
6dda4f2bc3 aptpkg: fix temp pkg unhold when version is specified
When a version is specified, a given package's entry in the all_pkgs
list contains the version number (e.g. "name=version" instead of just
"name"). This fixes the check for which packages to unhold by creating a
separate list of targeted package names by stripping off the "=" (if
present) from each element in all_pkgs.
2017-04-27 09:10:15 -05:00
Cory Wright
2995a05c2b Make salt.auth.rest heading consistent with all other salt.auth documentation 2017-04-27 09:32:53 -04:00
Mike Place
0f2ec1e1db Merge pull request #40894 from senthilkumar-e/broken_jobs_api_fix
Fix for broken /jobs/<jid> in 2016.11.4
2017-04-27 05:32:59 -06:00
Erik Johnson
9e6361c6c8 Add GitPython HTTP git_pillar tests 2017-04-27 00:48:24 -05:00
twangboy
1c3cd62594 Fix unicode support for win_system 2017-04-26 17:53:25 -06:00
twangboy
e8d440b543 Mock win32api instead of win32gui 2017-04-26 12:41:13 -06:00
rkgrunt
4f9c92a012 Fixed issue with parsing of master minion returns when batching is enabled. 2017-04-26 14:38:14 -04:00
CEG
817f49296e fixing lint errors in keystone auth error 2017-04-26 11:05:53 -06:00
CEG
f683636c61 fix trailing whitespace 2017-04-26 11:05:07 -06:00
Nicole Thomas
92003e2776 Merge pull request #40869 from gtmanfred/nitrogen
Backport Fix for docker.push/pull
2017-04-26 09:31:21 -06:00
Nicole Thomas
ea55c15367 Merge pull request #40876 from BenoitKnecht/fix-sqlite3-table-present-with-multiline-schema
states: sqlite3: fix table_present with multi-line schema
2017-04-26 09:21:18 -06:00
senthilkumar-e
2f55b26e08 Fixing the pylint issue 2017-04-26 20:51:14 +05:30
senthilkumar-e
fb607bab75 Fix for broken /jobs/<jid> in 2016.11.4
Fixes #40845
2017-04-26 11:22:12 +05:30
Erik Johnson
75e6bc0aa3 Fix two issues with pip.install
1. The iteritems func from six was being imported directly into the
   module, which means that the loader picks it up and we end up with a
   pip.iteritems in the __salt__ dunder.

2. When env_vars is passed, it permanently modifies os.environ, when it
   should just be passing the values in the env argument to cmd.run_all.

This fixes both of these issues.
2017-04-26 00:03:19 -05:00
Nicole Thomas
e09bafdceb Merge pull request #40742 from clinta/40741
Fix #40741
2017-04-25 16:52:05 -06:00
Nicole Thomas
7c10a419a1 Merge pull request #40866 from rallytime/merge-nitrogen
[nitrogen] Merge forward from 2016.11 to nitrogen
2017-04-25 16:42:11 -06:00
rallytime
2f1998ac00 Pylint extra space 2017-04-25 16:41:39 -06:00
rallytime
ad9914353b Pylint fixes 2017-04-25 14:18:50 -06:00
rallytime
c3f4874c21 Pylint fixes and rework new test in dimensiondata cloud unit tests 2017-04-25 11:06:55 -06:00
rallytime
8e24b3a8b2 Pylint fixes for some cloud unit tests 2017-04-25 11:06:39 -06:00
twangboy
fa8f9b55d8 Fix unit test, still mocking SendMessageTimout 2017-04-25 10:13:55 -06:00
rallytime
7f14a6491e Rename nova and openstack unit tests to test_*.py 2017-04-25 09:27:11 -06:00
Benoît Knecht
2ca627d02d states: sqlite3: fix table_present with multi-line schema
With a sqlite3 database containing a table with this schema:

  CREATE TABLE `user` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `login` TEXT NOT NULL)

using `sqlite3.table_present` with this definition:

  user:
    sqlite3.table_present:
      - db: /tmp/sqlite.db
      - schema: |
          CREATE TABLE `user` (
          `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
          , `login` TEXT NOT NULL)

returns an error indicating that the schemas do not match. That's
because the `schema` variable in the YAML ends with a newline, while the
schema returned by python-sqlite3 doesn't.

This commit strips leading and trailing whitespace from the YAML schema.
2017-04-25 14:23:34 +02:00
Mike Place
5d9dd3ad56 Merge pull request #40805 from terminalmage/moby
Alias moby to docker in Nitrogen (and later)
2017-04-24 22:37:53 -06:00
Mike Place
d5c781b40b Merge pull request #40858 from rallytime/locale-fixes
Use locale_search_str variable in locale.gen_locale and add error handling to integration test
2017-04-24 22:32:48 -06:00
Mike Place
5249496f74 Merge pull request #40859 from skizunov/develop2
Fix TCP Transport to work with Tornado 4.5
2017-04-24 22:28:59 -06:00
Nicole Thomas
ca80f287af Merge pull request #40862 from gtmanfred/2016.11
status should be an int
2017-04-24 17:11:30 -06:00
Nicole Thomas
c95341959d Merge pull request #40865 from rallytime/merge-2016.11
[2016.11] Merge forward from 2016.3 to 2016.11
2017-04-24 17:06:27 -06:00
Erik Johnson
ab7b2b36b0 Fix docker.push/pull
Resolves https://github.com/saltstack/salt/issues/40864
2017-04-24 16:52:40 -06:00
twangboy
b2a017f1e6 Documents the use of Unicode Strings 2017-04-24 16:21:46 -06:00
rallytime
5372f25fde Merge branch '2016.11' into 'nitrogen'
Conflicts:
  - salt/cloud/clouds/rackspace.py
  - tests/unit/cloud/clouds/test_dimensiondata.py
2017-04-24 15:35:28 -06:00
rallytime
53ad3159cc Merge branch '2016.3' into '2016.11'
No conflicts.
2017-04-24 15:30:26 -06:00
rallytime
46684f6f69 Typo: locale should be "locale_info" dictionary 2017-04-24 15:22:25 -06:00
rallytime
44623863fa Clean up integration test checks to be more encompassing 2017-04-24 15:12:20 -06:00
rallytime
5d8878dfdc Remove "is not None" checks salt.utils.which if statements
These checks are extraneous as salt.utils.which either returns
a path or "None".
2017-04-24 14:59:48 -06:00
Daniel Wallace
87ec1da771 status should be an int 2017-04-24 14:13:43 -06:00
twangboy
106986b92e Remove dependency on win32gui 2017-04-24 13:58:59 -06:00
Sergey Kizunov
958ecdace8 Fix TCP Transport to work with Tornado 4.5
TCP transport's `TCPClientKeepAlive` derives from
`tornado.tcpclient.TCPClient` and overrides `_create_stream`.
Tornado 4.5 added the kwargs `source_ip` and `source_port` to
`_create_stream`. This new functionality is not needed by Salt.
To be backwards and forwards compatible, add `**kwargs` to swallow
these and any future kwargs that are added.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2017-04-24 14:41:13 -05:00
Dmitry Kuzmenko
f0d46d04af Don't run status.master while minion is failing-over.
We don't need __master_connected events in failover mode as in this mode
__master_disconnected handler does the job and the connected event could
break the sequence.
2017-04-24 22:29:42 +03:00
rallytime
3dc93be6f6 Skip test if no charmaps are found
The "loacle -m" command might not return an error, but it might
just be empty. Let's not fail on a test that we're already logging
to the user.
2017-04-24 12:38:49 -06:00
rallytime
7efebc9f78 Remove assertion against an empty string
Returning an empty string is the expected behavior if the locale
is not set. This happens for example on the Fedora 24 test boxes.
2017-04-24 12:19:06 -06:00
rallytime
e3550ab44c Skip gen_locale test if charmaps aren't available on the test machine
The error of missing charmaps gets logged to the user. We shouldn't
be running the test for the gen_locale if we don't have charmaps
available on the test machine.
2017-04-24 12:17:29 -06:00
rallytime
532cefe62e localemod.gen_locale add locale_search_str var to reduce confusion
Add some spacing for easier readability
2017-04-24 12:15:43 -06:00
twangboy
8e90002c4e Add spaces between multiple args in docs 2017-04-24 12:01:40 -06:00
Nicole Thomas
7861f12df8 Merge pull request #40855 from Ch3LL/11.4_release_2016.11
[2016.11] Bump latest release version to 2016.11.4
2017-04-24 11:37:46 -06:00
Nicole Thomas
2a71dc3552 Merge pull request #40854 from Ch3LL/11.4_release_2016.3
[2016.3] Bump latest release version to 2016.11.4
2017-04-24 11:37:08 -06:00
Ch3LL
e7b604339d
[2016.11] Bump latest release version to 2016.11.4 2017-04-24 13:29:28 -04:00
Ch3LL
889540a313
[2016.3] Bump latest release version to 2016.11.4 2017-04-24 13:27:15 -04:00
Erik Johnson
3881b6e0f3 Prepare git_pillar test code for adding HTTP tests
This further abstracts some of the setup and teardown code so it can be
used for git-over-http tests.

It also moves the code that was originally added to the archive
state integration tests to create a local http server into
salt.support.helpers so that it can be more easily and portably used.
2017-04-24 11:00:39 -05:00