Commit Graph

68659 Commits

Author SHA1 Message Date
Elias Probst
32d0f392da modules.slack.post_message: Allow sending messages to direct-message channels (name starting with @) (#34983) 2016-07-27 15:20:24 -06:00
Mike Place
05cfb1cefc Merge pull request #34996 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-07-27 13:03:04 -06:00
rallytime
a7d4f93697 Merge branch '2015.8' into '2016.3'
Conflicts:
  - tests/integration/__init__.py
2016-07-27 11:35:16 -06:00
Elias Probst
d96386d162 salt.states.slack: check correct result attribute (#34987)
* The Slack execution module doesn't simply return a boolean to indicate
success/failure, but returns `True` in case of success and a dictionary
in case of failure which contains a `res` (boolean) and `message`.

This addresses the varying types returned by the execution module and
properly handles failure cases now instead of simply indicating success
on state execution.

Even before 69afcc4 only `result` was checked, but not its `res`
attribute.

Signed-off-by: Elias Probst <elias@grammofy.com>

* Consistent error msg formatting

Signed-off-by: Elias Probst <elias@grammofy.com>
2016-07-27 11:32:12 -06:00
Mike Place
edeb0eda36 Merge pull request #34835 from thatch45/34526_
Make the mine and publish combine minion and master opts in salt-ssh
2016-07-27 11:25:26 -06:00
Mike Place
b58c663d8d Merge pull request #34991 from cachedout/ssh_timeout
SSH timeout
2016-07-27 11:24:37 -06:00
Mike Place
5f8370ae8d Refine errors in client (#34976)
* Refine errors in client

Check for the existence of cache data

* Adjust tests for new return string
2016-07-27 11:05:31 -06:00
Mike Place
39cd8da399 Lint diff against salt-testing 2016-07-27 10:42:44 -06:00
Mike Place
443e5cdde2 Add timeout to ssh tests 2016-07-27 10:40:02 -06:00
Nicole Thomas
721e6dcce8 Merge pull request #34988 from rallytime/release-notes-update
Update release notes with new changes
2016-07-27 09:54:15 -06:00
rallytime
a2aae987a6 Update release notes with new changes 2016-07-27 09:53:19 -06:00
Mike Place
d63ac1671c Merge pull request #34946 from alprs/fix-venv_reqs_subdir
Fix virtualenv behavior when requirements files are in subdirectories
2016-07-27 08:43:27 -06:00
Andreas Lutro
f773d63cbb normalize requirements path to be absolute 2016-07-27 14:00:16 +02:00
Mike Place
a83cdf9339 Merge pull request #34831 from thatch45/recoverssh
If the thin does not match, then redeploy, don't error
2016-07-26 16:27:01 -06:00
Mike Place
f765faa3aa Merge pull request #34957 from sjmh/2016.3
Don't fall through to checking auth entries
2016-07-26 16:16:17 -06:00
Mike Place
2d3b95dec9 Merge pull request #34971 from cachedout/increase_timeout_grains_test
Increase timeout for grains test
2016-07-26 16:11:29 -06:00
Mike Place
82d271b43a Increase timeout for grains test 2016-07-26 16:10:30 -06:00
Mike Place
f23e8c525e Merge pull request #34951 from vutny/fix-schedule-dateutil
Fix #34873
2016-07-26 11:07:47 -06:00
Mike Place
deb1331601 Merge pull request #34935 from rallytime/beacons-mod-cleanup
Avoid UnboundLocalError in beacons module
2016-07-26 11:01:23 -06:00
Mike Place
d80350cdcc Increase all run_script timeouts to 30s (#34956) 2016-07-26 10:54:45 -06:00
Steve Hajducko
0095dbe530 Don't fall through to checking auth entries
Need to skip checking for matchers when using single string matchers like @runner or @jobs
2016-07-26 09:43:41 -07:00
Denys Havrysh
0faa490991 Fix job scheduling using `when parameter (by python-dateutil`) 2016-07-26 17:37:28 +03:00
Andreas Lutro
bdec73bb03 remove unnecessary os.path.basename logic 2016-07-26 13:24:31 +02:00
Nicole Thomas
5d194f2d17 Merge pull request #34933 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-07-25 16:09:05 -06:00
rallytime
97a36ef367 Avoid UnboundLocalError in beacons module
Also import the correct salt.utils.event lib (not just salt.utils)
2016-07-25 14:27:26 -06:00
rallytime
8b295fe4ea Merge branch '2015.8' into '2016.3'
Conflicts:
salt/config/__init__.py
salt/utils/parsers.py
tests/integration/__init__.py
2016-07-25 14:13:44 -06:00
Mike Place
ec8fc058d4 Master performance improvement (#34916)
Reduce unneeded call to ckminions from master pub. This should be a 2x improvement or so in pub times.
2016-07-25 09:52:46 -06:00
Alejandro Bednarik
3e32b7c408 Update service_rh provider to exclude XenServer >= 7. (#34915)
XenServer 7 now used systemd to habdle services.
2016-07-25 09:19:34 -06:00
Nicole Thomas
a7e7ec6d25 Merge pull request #34926 from rallytime/lint-34923
Lint #34923
2016-07-25 08:53:41 -06:00
rallytime
b3514abf1b Lint fixes for #34923 2016-07-25 08:52:35 -06:00
Elias Probst
69afcc4060
Handle exception when no Slack API key was provided 2016-07-25 11:39:29 +02:00
Mike Place
34dc2fd792 Merge pull request #34911 from cachedout/backport_34906
Backport #34906
2016-07-22 17:23:24 -06:00
Mike Place
8becec2f4f Backport #34906 2016-07-22 17:22:50 -06:00
Mike Place
c663c8bb5b Merge pull request #34910 from cachedout/proxy_grains
Fix grains error on proxy minions
2016-07-22 17:05:46 -06:00
Mike Place
0970ebace8 Fix grains error on proxy minions 2016-07-22 17:04:41 -06:00
jmacfar
815ffdfe45 Check for version in list of installed versions (#34864)
* Find version in list of installed versions

* lint error
2016-07-22 16:44:42 -06:00
Nicole Thomas
6394030db3 Add VirtuozzoLinux is yumpkg enable list. (#34902) 2016-07-22 16:43:23 -06:00
Mike Place
6ccc27f697 Merge pull request #34898 from hrumph/list_upgrades_refresh
Stop multiple refreshes during call to pkg.list_upgrades
2016-07-22 16:28:42 -06:00
Mike Place
ad640cc046 Merge pull request #34901 from rallytime/fix-34893
Add VirtuozzoLinux to the list of enabled distros for rpm.py
2016-07-22 16:23:48 -06:00
Mike Place
5aa532f98b Merge pull request #34900 from rallytime/fix-34890
Add VirtuozzoLinux to enabled platforms list in rh_service.py
2016-07-22 16:21:20 -06:00
rallytime
45e2ce10a4 Add VirtuozzoLinux to the list of enabled distros for rpm.py 2016-07-22 14:46:45 -06:00
rallytime
12824487cc Add VirtuozzoLinux to enabled platforms list in rh_service.py
Fixes #34890
2016-07-22 14:43:09 -06:00
Michael Walton
acd4b1a23b Fixes #33620 2016-07-22 15:46:29 -04:00
Nicole Thomas
ebebfa647f Merge pull request #34887 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-07-22 12:04:47 -06:00
Thomas S Hatch
5c13ee0e72 Merge pull request #34606 from isbm/isbm-config-reading-exit-2015.8
Bugfix: Exit on configuration read (backport)
2016-07-22 11:35:18 -06:00
Thomas S Hatch
eba34f7f4c Merge pull request #34632 from eliasp/2016.3-create-logdir-when-needed
Try to create the log directory when not present yet
2016-07-22 11:34:31 -06:00
Thomas S Hatch
965f517889 Merge pull request #34854 from rallytime/cleanup-state-imports
Remove string_types import from state compiler
2016-07-22 11:20:15 -06:00
Thomas S Hatch
584d7606d4 Merge pull request #34865 from thatch45/break_suse
This needs discussion, since this breaks SUSE
2016-07-22 11:19:34 -06:00
rallytime
109b368d19 Merge branch '2015.8' into '2016.3'
No conflicts.
2016-07-22 10:32:59 -06:00
Thomas S Hatch
fb223e1bd4 Invalidate the target cache very quickly (#34862) 2016-07-22 09:34:08 -06:00