Commit Graph

77860 Commits

Author SHA1 Message Date
rallytime
60b406e088 @mock_elb needs to be changed to @mock_elb_deprecated as well 2017-08-15 14:23:00 -04:00
rallytime
6ae1111295 Replace @mock_ec2 calls with @mock_ec2_deprecated calls
moto versions >= 1.0.0 have changed the way the mocked connections through
boto are handled with the @mock_ec2 decorator. They use the boto3 connection
method. However, since we are still using boto in many places, we need to use
the new @mock_ec2_deprecated decorator instead to handle the boto connection
functions for the unit tests.

Versions of moto < 1.0.0 are not Python 3 compatible, so salt-jenkins should
be installing newer versions of moto for those tests. Unfortunately, we cannot
install an older version of moto for Python2 that use the original @mock_ec2 call
and also import the @mock_ec2_deprecated function for newer versions of moto
simultaneously as the @mock_ec2_deprecated function doesn't exist in older
versions of moto.
2017-08-15 14:22:59 -04:00
Nicole Thomas
6366e05d0d Merge pull request #42944 from Ch3LL/2016.11.6_follow_up
[2016.11] Add clean_id function to salt.utils.verify.py
2017-08-15 14:06:11 -04:00
Nicole Thomas
13b8637d53 Merge pull request #42942 from Ch3LL/2016.3.6_follow_up
[2016.3] Add clean_id function to salt.utils.verify.py
2017-08-15 13:37:46 -04:00
Mike Place
49d339c976 Merge pull request #42952 from Ch3LL/latest_2016.11
[2016.11] Bump latest and previous versions
2017-08-15 11:23:02 -06:00
Mike Place
bbb1b29ccb Merge pull request #42954 from Ch3LL/latest_2016.3
[2016.3] Bump latest and previous versions
2017-08-15 11:22:42 -06:00
Ch3LL
74e7055d54 [2016.11] Bump latest and previous versions 2017-08-15 12:54:12 -04:00
Ch3LL
b551e66744 [2016.3] Bump latest and previous versions 2017-08-15 12:53:16 -04:00
Mike Place
b0d2e05a79 Merge pull request #42950 from Ch3LL/2016.11.7_docs
Add Security Notice to 2016.11.7 Release Notes
2017-08-15 10:50:23 -06:00
Mike Place
5d5edc54b7 Merge pull request #42949 from Ch3LL/2016.3.7_docs
Add Security Notice to 2016.3.7 Release Notes
2017-08-15 10:49:12 -06:00
Ch3LL
a6f902db40 Add Security Notice to 2016.11.77 Release Notes 2017-08-15 12:35:37 -04:00
Ch3LL
d75d3741f8 Add Security Notice to 2016.3.7 Release Notes 2017-08-15 12:33:27 -04:00
Ch3LL
7e0a20afca Add release notes for 2016.11.7 release 2017-08-15 12:26:35 -04:00
Ch3LL
63823f8c3e Add clean_id function to salt.utils.verify.py 2017-08-15 12:24:47 -04:00
Ch3LL
f281e1795f move additional minion config options to 2016.3.8 release notes 2017-08-15 12:16:32 -04:00
Ch3LL
168604ba6b remove merge conflict 2017-08-15 12:12:40 -04:00
Ch3LL
8a07d95212 update release notes with cve number 2017-08-15 12:11:01 -04:00
Ch3LL
149633fdca Add release notes for 2016.3.7 release 2017-08-15 12:10:25 -04:00
Ch3LL
7a4cddcd95 Add clean_id function to salt.utils.verify.py 2017-08-15 12:08:13 -04:00
Daniel Wallace
bd63074e7a create new ip address before checking list of allocated ips
This will help prevent a race condition of all cloud servers being built in
parallel trying to build with the same floating ip address.
2017-08-15 09:19:05 -06:00
Nicole Thomas
c0ff69f88c Merge pull request #42836 from lyft/backport-utils.versions-to-2016.11
Backport salt.utils.versions from develop to 2016.11
2017-08-14 16:56:54 -04:00
Nicole Thomas
64a79dd5ac Merge pull request #42919 from rallytime/bp-42871
Back-port #42871 to 2016.11
2017-08-14 16:43:59 -04:00
Nicole Thomas
bea8ec1098 Merge pull request #42918 from rallytime/bp-42848
Back-port #42848 to 2016.11
2017-08-14 16:43:42 -04:00
Mike Place
52bce329cb Merge pull request #42861 from twangboy/win_pkg_install_salt
Fix pkg.install salt-minion using salt-call
2017-08-14 12:07:22 -07:00
amalleo25
4e46c968e6 Update joyent.rst
Missing colon in example cloud.profiles.d config file.
2017-08-14 14:35:50 -04:00
Dmitry Kuzmenko
cdb48126f7 Make lint happier. 2017-08-14 14:34:33 -04:00
Dmitry Kuzmenko
62eca9b00b Execute fire_master asynchronously in the main minion thread.
In another case it will block minion execution if master is not
responding.
This is actual for MultiMaster configuration because blocks minion to
respond to the active master requests if another one is down.
2017-08-14 14:34:33 -04:00
Nicole Thomas
b9f4f87aa5 Merge pull request #42798 from s-sebastian/2016.11
Update return data before calling returners
2017-08-14 11:51:29 -04:00
Dmitry Kuzmenko
afedd3b654 Typos and version fixes in the doc. 2017-08-14 18:08:40 +03:00
Dmitry Kuzmenko
9fedf6012e Fixed 'test_valid_docs' test. 2017-08-14 10:54:16 +03:00
Aneesh Agrawal
86ce7004a2 Backport salt.utils.versions from develop to 2016.11
This makes it easier to backport boto* and other modules
from develop that are using the salt.utils.versions module.

Additionally, because the `blacklisted-module` Salt pylint module
is not available in 2016.11, remove references to it.
2017-08-11 23:41:56 +00:00
Dmitry Kuzmenko
999388680c Make chunked mode in salt-cp optional (disabled by default).
This reverts breaking of backward compatibility related to the cp.recv
interface change.
2017-08-11 22:44:42 +03:00
Nicole Thomas
c15d0034fe Merge pull request #41977 from redmatter/fix-dockerng-network-ignores-test
Fix dockerng.network_* ignoring of tests=True
2017-08-11 14:37:19 -04:00
Nicole Thomas
3b9c3c5671 Merge pull request #42886 from sarcasticadmin/adding_docs_salt_outputs
Adding missing output flags to salt cli docs
2017-08-11 14:35:18 -04:00
Nicole Thomas
e5b98c8a88 Merge pull request #42882 from gtmanfred/2016.11
make sure cmd is not run when npm isn't installed
2017-08-11 13:53:14 -04:00
Daniel Wallace
da3402a53d make sure cmd is not run when npm isn't installed
apparently the skipIf on the functions still get run, even if the function is
going to be skipped based on a skipIf on the class.
2017-08-11 10:58:00 -06:00
Nicole Thomas
5962c9588b Merge pull request #42788 from amendlik/saltify-timeout
Remove waits and retries from Saltify deployment
2017-08-11 11:38:05 -04:00
Nicole Thomas
227ecddd13 Merge pull request #42877 from terminalmage/add-cron-state-virtual
Add virtual func for cron state module
2017-08-11 11:33:09 -04:00
Nicole Thomas
ab9f6cef33 Merge pull request #42859 from terminalmage/gitpython-git-cli-note
Add note about git CLI requirement for GitPython to GitFS tutorial
2017-08-11 10:53:02 -04:00
Nicole Thomas
682b4a8d14 Merge pull request #42856 from gtmanfred/2016.11
skip cache_clean test if npm version is >= 5.0.0
2017-08-11 09:39:19 -04:00
Erik Johnson
f1de196740 Add virtual func for cron state module
This prevents a traceback when you attempt to use a cron state without
cron being installed.
2017-08-11 08:32:19 -05:00
Nicole Thomas
01ea854029 Merge pull request #42864 from whiteinge/syndic-log-root_dir
Make syndic_log_file respect root_dir setting
2017-08-11 09:28:21 -04:00
Steven Joseph
2728e5d977 Only include new tags in changes 2017-08-11 14:59:57 +10:00
Seth House
4b1f55da9c Make syndic_log_file respect root_dir setting 2017-08-10 17:06:49 -06:00
twangboy
0d3789f0c6 Fix pkg.install salt-minion using salt-call
When executing `pkg.install salt-minion` using salt-call there is still a
python process running maintaining locks on files that the installer is
trying to overwrite. This is because the `install` function is using
`task.run_wait` which waits for the task to finish before returning
success. This is fine for standard programs that install using the
schedular, but bad for salt.

This change will use `task.run` and check that the task is actually
running and then return that the task was started. This will apply only
if the task was scheduled for `salt-minion` or `salt-minion-py3`.
2017-08-10 16:36:12 -06:00
Erik Johnson
35e05c9515 Add note about git CLI requirement for GitPython to GitFS tutorial 2017-08-10 16:47:47 -05:00
Robert James Hernandez
744bf954ff Adding missing output flags to salt cli 2017-08-10 13:19:08 -07:00
Daniel Wallace
b458b89fb8 skip cache_clean test if npm version is >= 5.0.0 2017-08-10 14:17:47 -06:00
Nicole Thomas
2dde1f77e9 Merge pull request #42851 from terminalmage/bp-42651
Backport #42651 to 2016.11
2017-08-10 14:02:38 -04:00
Daniel Wallace
a3da86eea8 fix syntax 2017-08-10 11:08:27 -05:00