Commit Graph

76210 Commits

Author SHA1 Message Date
Denys Havrysh
1d0d7b24c1 Upgrade SaltTesting to run test suite for 2016.11 and add SaltPyLint (#39521) 2017-02-21 13:30:16 -07:00
twangboy
837c32e673 Remove list2cmdline 2017-02-21 12:11:56 -07:00
twangboy
c258cb3f73 Streamline wmic command returns for easier parsing 2017-02-21 12:06:56 -07:00
Erik Johnson
da42040c1a Try the docker-py 2.0 client name first
This should give us a modest perfomance improvement as more people begin
to use docker-py>=2.0.
2017-02-21 12:47:14 -06:00
twangboy
6d2cf8171e Fix 'ping_master' function 2017-02-21 11:12:06 -07:00
Thomas S Hatch
c357e37831 Add minion config 2017-02-21 11:09:46 -07:00
rallytime
d34a8fe9dc Fix breakage in aptpkg and dpkg execution modules
The change in #39418 added a keyword argument before the *args
definition, which doesn't work. We need to use **kwargs after
the *names or *packages references.

This PR updates the affected functions to remove the ``failhard=True``
definitions to use **kwargs instead, cleans **kwargs, retrieves the
"failhard" option, and then errors if additional, unexpected kwargs
are passed in.
2017-02-21 10:58:39 -07:00
twangboy
d946d10597 Namespace 'status' functions in 'win_status' 2017-02-21 10:53:04 -07:00
Andres Montalban
f0d3c16547 Fix case when /etc/localtime is a file and it is not updated 2017-02-21 14:37:30 -03:00
Thomas S Hatch
539bb2aa80 Add better ssl option docs 2017-02-21 08:48:42 -07:00
Paul Miller
8fe48fa5c4 prevent billions of inexplicable lines of this:
> 17:32 salt.template DEBUG compile template:
> 17:32 salt.template ERROR Template does not exist:
2017-02-20 18:11:30 -05:00
Erik Johnson
dff35b58f8 Merge pull request #39498 from terminalmage/pr-39483
Resubmit PR #39483 against 2016.3 branch
2017-02-20 13:35:32 -06:00
Mihai Dinca
9fedb84607 Always return oscap's stderr 2017-02-20 10:36:01 +01:00
Mihai Dinca
0ecde2cd02 Include oscap returncode in response 2017-02-20 10:36:01 +01:00
Mike Place
9cf654b72c
Threadsafety option for context dictionaries 2017-02-19 14:20:19 -07:00
Mike Place
6418e725ed Merge pull request #39497 from terminalmage/docker-compat-fixes
Two dockerng compatibility fixes
2017-02-19 10:43:36 -07:00
Erik Johnson
cbd0270bac docker: make docker-exec the default execution driver
Docker 1.13.1 removed the ExecutionDriver from the ``docker info``
return data. This causes all attempts to run commands in containers to
fall back to the old lxc-attach driver, which is incompatible with newer
docker releases.
2017-02-18 22:19:57 -06:00
Erik Johnson
a6a17d58aa Handle docker-py 2.0's new host_config path
docker-py 2.0 made some changes to the location of the function which
creates the host config. This adds a function to get the proper argspec
for host config, networking config, and container config, irrespective
of the installed version of docker-py.
2017-02-18 22:16:03 -06:00
Tomas Zvala
20b097a745 dockerng: compare sets instead of lists of security_opt
Apparently some versions of docker add label=disabled to security_opt
when the container is launched as privileged. This causes Salt to
relaunch the container to remove it on next run.
Container started as privileged and with the security_opt set, causes it
to have the option set twice and makes salt want to remove one instance.
With this fix, dockerng will compare just (non-)existence of the flag.
So containers started with privileged flag and security_opt set to
label=disabled will not get relaunched on every salt run.
Fixes #39447
2017-02-18 21:40:22 -06:00
Mike Place
e4c71683d9 Merge pull request #39370 from twangboy/gate_win_utils
Gate win_osinfo and winservice
2017-02-17 16:53:58 -07:00
Mike Place
a3e71b6cce Merge pull request #39486 from twangboy/win_remove_orphaned
Remove orphaned function list_configurable_policies
2017-02-17 15:21:49 -07:00
Mike Place
87b269fc80 Merge pull request #39418 from alprs/fix-aptpkg_info_nonexistent_pkg
Allow aptpkg.info_installed on package names that aren't installed
2017-02-17 11:34:18 -07:00
Mike Place
9c4292fb4e Merge pull request #39423 from dincamihai/openscap
Openscap module
2017-02-17 11:31:04 -07:00
Mike Place
e816d6c23e Merge pull request #39438 from cloudflare/fix_39422
file.get_managed: refetch source when file hashsum is changed
2017-02-17 10:58:28 -07:00
Mike Place
a5fe8f0fa6 Merge pull request #39432 from dmaziuk/issue39203
Quick and dirty fix for GECOS fields with more than 3 commas
2017-02-17 10:57:30 -07:00
Mike Place
3665229a5a Merge pull request #39484 from corywright/fix-reactor-docs-pillar-keyword-args
The Reactor docs should use pillar='{}' instead of 'pillar={}'
2017-02-17 10:50:57 -07:00
twangboy
1328055c4d Remove orphaned function list_configurable_policies 2017-02-17 10:37:12 -07:00
Cory Wright
cc90d0d53f The Reactor docs should use pillar='{}' instead of 'pillar={}' 2017-02-17 11:07:39 -06:00
Mihai Dinca
9d13422ac1 OpenSCAP module 2017-02-17 13:50:29 +01:00
Andreas Lutro
246bf1e938 add failhard argument to various apt pkg functions
currently, it's not possible to query for info on packages that may not
be installed. with an added failhard argument, the user can specify if
they just want an empty result set back instead of an exception being
raised.
2017-02-17 10:06:26 +01:00
twangboy
167cdb3447 Gate windows specific imports, add __virtual__ 2017-02-16 17:50:47 -07:00
Mike Place
7dd2502360 Merge pull request #39464 from gtmanfred/2016.3
skip false values from preferred_ip
2017-02-16 15:48:32 -07:00
Mike Place
2e3a9c5e58 Merge pull request #39456 from twangboy/win_fix_icon
Add salt icon to buildenv directory
2017-02-16 15:47:58 -07:00
Mike Place
63adc03484 Merge pull request #39462 from twangboy/win_fix_fileclient
Use url_path instead of url_data.path
2017-02-16 15:44:18 -07:00
Mike Place
e9b034f02f Merge pull request #39458 from rallytime/fixup-more-doc-build-warnings
Fix more warnings in doc build
2017-02-16 14:45:51 -07:00
Daniel Wallace
f829d6f9fc skip false values from preferred_ip 2017-02-16 15:11:08 -06:00
Mike Place
e4f8c2bfb0 Merge pull request #39437 from sakateka/fixes_about_saltfile
Fixes about saltfile
2017-02-16 13:32:14 -07:00
twangboy
a96bc13133 Use url_path instead of url_data.path 2017-02-16 13:20:23 -07:00
Mike Place
db359ff2c3 Merge pull request #39460 from cachedout/win_dism_test_fix
Fix mocks in win_disim tests
2017-02-16 12:27:47 -07:00
Mike Place
e652a45592
Fix mocks in win_disim tests 2017-02-16 12:26:49 -07:00
twangboy
8dd915dae4 Add salt icon to buildenv directory 2017-02-16 12:04:21 -07:00
rallytime
e698bc3508 Fix more warnings in doc build 2017-02-16 11:20:35 -07:00
Megan Wilhite
1acf00da3b add 2016.11.3 changelog to release notes (#39451) 2017-02-16 10:49:53 -07:00
Mike Place
8e2cbd2307 Merge pull request #39448 from gtmanfred/2016.11
Add release notes for cisco proxy minions added in Carbon
2017-02-16 10:29:47 -07:00
Sergey Kacheev
ab68524d7a less pylint: salt/utils/parsers.py 2017-02-17 00:25:04 +07:00
Sergey Kacheev
9e7d9dcc78 Revert "pylint: salt/utils/parsers.py"
This reverts commit 33f3614b1e.
2017-02-17 00:15:57 +07:00
Mike Place
41c046308c Remove # 2017-02-16 10:07:25 -07:00
Daniel Wallace
3172e88700 Add release notes for cisco proxy minions added in Carbon 2017-02-16 10:05:33 -06:00
Mircea Ulinic
8453800639 file.get_managed: refetch cached file when hashsum chnaged 2017-02-16 11:31:31 +00:00
Sergey Kacheev
f3f129c8f1 document ~/.salt/Saltfile 2017-02-16 17:39:22 +07:00