Commit Graph

68746 Commits

Author SHA1 Message Date
Mike Place
6714e8f386 Fix mock call in disk wipe test 2016-08-07 06:57:20 +09:00
Mike Place
4e7d7f8e4c Merge pull request #35253 from abednarik/disk_wipe_fix
Fix disk.wipe missing option.
2016-08-07 06:55:01 +09:00
Mike Place
eeede82109 Merge pull request #35206 from hu-dabao/fix-exc-log
Make the log level back to warning for unclassified exc
2016-08-07 06:40:38 +09:00
abednarik
ff33df4ba1 Fix disk.wipe missing option.
Added -a option to wipefs in disk.,wipe to actually wipe partition.
2016-08-06 08:44:09 -03:00
Mike Place
21808e27d5 Merge pull request #35196 from isbm/isbm-too-fast-uptime-deprecation
Deprecate status.uptime one version later
2016-08-06 17:39:40 +09:00
Mike Place
100645e557 Merge pull request #35207 from eliasp/2016.3-modules.aptpkg-handle-exceptions
Handle exceptions in `_get_virtual()` and in `_get_virtual()` consumers
2016-08-06 17:29:08 +09:00
Mike Place
7302a8a6e5 Merge pull request #35232 from theredcat/fix-rabbitmq-version-detection
fix rabbitmq version detection using a package-agnostic version
2016-08-06 17:13:01 +09:00
Mike Place
2e9fa3799c Merge pull request #35244 from rallytime/bp-31677
Back-port #31677 to 2016.3
2016-08-06 16:53:27 +09:00
Mikhael A
45d563d5ac Return correct value for services that must be enabled in Systemd, not in SysV
This fixes situations, when a server switched from SysV to Systemd.
SysV symlinks are still in place and Salt incorrectly determines, that
service is already enabled.

For example:
~$ salt-call --local service.enabled spamassassin
[INFO    ] Executing command 'systemctl is-enabled spamassassin.service'
[INFO    ] Executing command 'runlevel' in directory '/root'
local:
    True

However:

~$ systemctl is-enabled spamassassin.service
disabled

~$ find /etc/rc*.d/ -name
'*spamassassin'
/etc/rc0.d/K02spamassassin
/etc/rc1.d/K02spamassassin
/etc/rc2.d/S02spamassassin
/etc/rc3.d/S02spamassassin
/etc/rc4.d/S02spamassassin
/etc/rc5.d/S02spamassassin
/etc/rc6.d/K02spamassassin
2016-08-05 15:16:47 -06:00
Nathan Delhaye
f75eb2ecc7 Fix runas in code order and make the check_password work with the new >3.5.7 version 2016-08-05 17:13:15 +02:00
Nathan Delhaye
4d8119b88b fix rabbitmq version detection using a package-agnostic version
Fixes #34481
Fixes #35003
Fixes #33588
2016-08-05 16:01:41 +02:00
Elias Probst
2f11df98ca
Handle exceptions in _get_virtual() and in _get_virtual() consumers 2016-08-04 20:07:21 +02:00
Hengyang Hu
676be7d711 Make the log level back to warning for unclassified exc 2016-08-04 10:42:30 -07:00
Bo Maryniuk
6f3a32dace Deprecate status.uptime one version later 2016-08-04 11:28:19 +02:00
Nicole Thomas
bd0496eef5 Merge pull request #35182 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-08-03 14:57:29 -06:00
rallytime
c35974f78f Merge branch '2015.8' into '2016.3'
No conflicts.
2016-08-03 13:36:00 -06:00
Nicole Thomas
67d8dd0fd0 Don't discard running beacons config when listing becaons (#35174)
Refs #34827
2016-08-03 13:35:14 -06:00
Nicole Thomas
3754550dd2 Add missing CLI Examples to aws_sqs module funcs (#35173) 2016-08-03 11:14:13 -06:00
Mike Place
f9f92ad326 Merge pull request #35150 from rallytime/2016.3.3-release-notes
Start release notes for 2016.3.3
2016-08-03 07:46:31 -06:00
Mike Place
518ecf897a Merge pull request #35157 from hu-dabao/func-return-string
master returned from func should be a string as designed so far
2016-08-03 07:29:16 -06:00
Hengyang Hu
a7506af4c9 master returned from func should be a string as designed so far 2016-08-02 17:27:26 -07:00
rallytime
a64026fc99 Start release notes for 2016.3.3 2016-08-02 15:47:17 -06:00
Jacob Hammons
f4d869fb0f doc version updated to 2016.3.2 (#35147)
updated the navigation headings
2016-08-02 14:21:52 -06:00
Jacob Hammons
4967ed275f doc version update to 2015.8.11, updates to release notes (#35145) 2016-08-02 13:55:32 -06:00
Mike Place
dc7d7db3d5 Merge pull request #35136 from s0undt3ch/2016.3
Don't restart processes if the manager is not set to restart them
2016-08-02 12:40:05 -06:00
Nicole Thomas
bf04bd3316 Merge pull request #35133 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-08-02 12:06:18 -06:00
Pedro Algarvio
7b8bf2d2b4
Don't restart processes if the manager is not set to restart them 2016-08-02 18:19:34 +01:00
rallytime
0d5f0b6016 Merge branch '2015.8' into '2016.3'
No conflicts.
2016-08-02 10:40:26 -06:00
Mike Place
dd91006ed7 Merge pull request #35120 from kstreee/fix-missing-first-stream-data
The '_handle_event_socket_recv' function in Salt Api is missing first data of stream.
2016-08-02 10:22:50 -06:00
Nicole Thomas
7895c97e91 Fix docstring for code-block of rst (#35131) 2016-08-02 10:05:29 -06:00
Mike Place
77b1f43b0d Merge pull request #35110 from hu-dabao/master-check-lighter
Do not return job status back to master for master_alive and master_failback schedules
2016-08-02 01:49:46 -06:00
kstreee
28f793caac Fix missing first data in stream when subscribing stream using a function 'read_async'. 2016-08-02 07:37:25 +00:00
Mike Place
81845ee31d Merge pull request #35114 from terminalmage/git_pillar-env-remap-docs
Add clarification docs on a common git_pillar misconfiguration
2016-08-01 18:30:47 -06:00
Erik Johnson
5951554e9f Add clarification docs on a common git_pillar misconfiguration 2016-08-01 18:54:50 -05:00
Erik Johnson
88a9fb1b31 Merge pull request #34768 from hrumph/bad-installed-state
Fixes #34767
2016-08-01 16:46:16 -05:00
Hengyang Hu
3a3b66e27d dont return job status back to master for master_alive and master_failback schedules 2016-08-01 14:45:20 -07:00
Nicole Thomas
94a983f129 Merge pull request #35104 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-08-01 12:56:42 -06:00
Mike Place
6c056a829e Merge pull request #35105 from rallytime/update-2016.3.0-release-notes
Update 2016.3.0 release notes with repo.saltstack.com Xenial pkg availability
2016-08-01 11:26:54 -06:00
Mike Place
343576408f Merge pull request #35043 from rallytime/new-release-notes
Start release notes file for 2015.8.12
2016-08-01 11:22:04 -06:00
rallytime
fbaff3e98e Update 2016.3.0 release notes with repo.saltstack.com Xenial pkg availability
Refs #33870
2016-08-01 11:14:53 -06:00
rallytime
dda2c32325 Merge branch '2015.8' into '2016.3'
Conflicts:
  - salt/modules/saltutil.py
  - salt/returners/postgres_local_cache.py
2016-08-01 11:06:43 -06:00
Mike Place
848bf0272f Merge pull request #35050 from terminalmage/fix-saltdev-arg
[orchestration] Properly handle runner/wheel funcs which accept a 'saltdev' argument
2016-08-01 09:48:08 -06:00
Mike Place
1f8a0fd1e7 Merge pull request #35059 from vutny/event-function-args
Add `fun_args` field to events generated by execution of Master modules
2016-08-01 07:01:42 -06:00
Mike Place
d137c4b986 Merge pull request #34955 from lubyou/fix-dism-on-non-english-systems
force dism to always output english text
2016-08-01 06:54:03 -06:00
Mike Place
ff7ddf0b68 Merge pull request #35078 from jacobweinstock/fix-missing-non-keyword-argument
added missing non-keyword argument skip_verify to __get_artifact func…
2016-08-01 06:22:47 -06:00
Jacob Weinstock
c40314ba80 added missing non-keyword argument skip_verify to __get_artifact function 2016-07-30 13:32:38 -06:00
Johannes Scholz
63c974a3d0 add missing comma 2016-07-30 11:01:45 +02:00
Mike Place
2144178ae0 Merge pull request #35066 from jfindlay/postgres_log
returners.postgres_local_cache: do not log in __virtual__
2016-07-29 19:32:17 -06:00
Justin Findlay
c2c442234f returners.postgres_local_cache: do not log in __virtual__ 2016-07-29 13:03:36 -06:00
Erik Johnson
40cfa7cf17 Avoid needlessly running 2 argspecs in salt.utils.format_call()
Both format_call() and arg_lookup() perform an argspec, and
format_call() invokes arg_lookup(). This commit allows for an argpsec to
be passed into arg_lookup(), avoiding the need to perform the argspec a
second time.
2016-07-29 13:08:31 -05:00