Commit Graph

62565 Commits

Author SHA1 Message Date
Thomas Jackson
8309b69740 Simplify TCP/IPC wire protocol
As I was working on another project, I ran into some other project doing exactly this. Our current wire protocol is effectively "len-of-thing thing", but msgpack already includes headers in the serialization--making it an iterably consumable format. This means we don't need to use/waste bytes on the wire for the len of the string (esp. since its currently a string serialization of how many bytes).

This change simplifies the wire protocol, but still maintains flexibility for changes later-- since we are effectively just msgpacking dicts across the wire.

Note: this is a backwards incompatible wire protocol change. This is only being done as TCP is considered "experimental". This will be the last and only change to the wire protocol in a backwards incompatible fashion-- as we are working towards first-class support for the next release.
2015-12-02 09:01:58 -08:00
Mike Place
b96552b716 Merge pull request #29304 from sbz/monit-module-changes
modules/monit: complete monit execution module functions
2015-12-02 07:50:56 -07:00
Mike Place
8c0781c06f Merge pull request #29324 from s0undt3ch/features/minion-engines
The SPM verbose flag should be in SPM defaults
2015-12-02 07:37:24 -07:00
Mike Place
81c6b527cf Merge pull request #29325 from Granjow/typo
Fix typo in salt.states.user.
2015-12-02 07:36:45 -07:00
Mike Place
29ea0d0ea7 Merge pull request #29326 from Granjow/userDoc
salt.states.user documentation: Example for generating password hash
2015-12-02 07:36:28 -07:00
Pedro Algarvio
1bb4bb8519 More future proof fix 2015-12-02 11:12:11 +00:00
Pedro Algarvio
e4acaf5fe2 Revert "The SPM verbose flag should be in SPM defaults"
This reverts commit 98b903a196.
2015-12-02 11:10:54 +00:00
Simon A. Eugster
0cfb8e0c1d salt.states.user documentation: Example for generating password hash 2015-12-02 11:01:53 +01:00
Simon A. Eugster
9224488a43 Fix typo in salt.states.user. 2015-12-02 10:57:00 +01:00
Pedro Algarvio
98b903a196 The SPM verbose flag should be in SPM defaults 2015-12-02 09:40:41 +00:00
Pedro Algarvio
1b8df81046 Merge pull request #29320 from basepi/merge-forward-develop
Merge forward from 2015.8 to develop
2015-12-02 08:47:19 +00:00
Colton Myers
2b99aab501 Lint fixes 2015-12-01 17:31:59 -07:00
Colton Myers
3f09d58fff Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
Conflicts:
    salt/cloud/clouds/vmware.py
    salt/modules/rh_ip.py
    salt/modules/s3.py
    salt/modules/saltutil.py
    salt/modules/zypper.py
    salt/spm/__init__.py
    salt/utils/aws.py
    salt/utils/s3.py
    tests/unit/modules/s3_test.py
    tests/unit/pydsl_test.py
2015-12-01 15:31:03 -07:00
Colton Myers
a3a463ff8b Merge pull request #29317 from basepi/merge-forward-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
2015-12-01 14:28:30 -07:00
Justin Findlay
60bd5781ef Merge pull request #29312 from sjmh/fix/etcd_watch_valerr
Catch ValueError on timeout on non-existing key
2015-12-01 13:55:41 -07:00
Sofian Brabez
a2e5586cd4 modules/monit: alias reload function also and fix lint issues 2015-12-01 21:42:56 +01:00
Colton Myers
0d90dd3a19 Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
Conflicts:
    debian/salt-master.service
    salt/modules/win_pkg.py
2015-12-01 13:26:44 -07:00
Colton Myers
14e94b3593 Merge pull request #29316 from basepi/merge-forward-2015.5
[2015.5] Merge forward from 2014.7 to 2015.5
2015-12-01 13:20:23 -07:00
Colton Myers
33f40b3c47 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.5 2015-12-01 13:19:39 -07:00
Steve Hajducko
cef6eff7c8 Catch ValueError on timeout on non-existing key
The etcd watch function tries to read a key when it reaches the timeout
in order to obtain details about the key.

On python 2.6, when it tries to re-read the key, it throws a ValueError,
since python-etcd doesn't officially support python 2.6.  The watch
function wasn't catching this ValueError, so it was returning the
exception, rather than a blank dict.
2015-12-01 10:30:45 -08:00
Mike Place
a890307cc0 Merge pull request #29310 from cachedout/fixup_spmverbose
Fixup spmverbose
2015-12-01 11:28:07 -07:00
Mike Place
cdde617be3 Fixup test for spm verbose PR
Refs #29274
2015-12-01 11:27:03 -07:00
Sofian Brabez
0d2df70008 modules/monit: alias id function 2015-12-01 19:12:25 +01:00
Sofian Brabez
e522341d3b modules/monit: avoid kwargs argument in execution module 2015-12-01 19:05:05 +01:00
Mike Place
39667fda12 Merge pull request #29240 from clan/linux_acl
handle acl_type [[d]efault:][user|group|mask|other]
2015-12-01 10:56:20 -07:00
Mike Place
027bed7c90 Merge pull request #29305 from lorengordon/source_hash_protos
Add 'file' as a source_hash proto
2015-12-01 10:39:37 -07:00
Mike Place
7e424e10f2 Merge pull request #28054 from dr4Ke/custom_grains_deep_merge
loader uses a deep dictionary merge for the grains (core and customs)
2015-12-01 10:33:52 -07:00
Loren Gordon
53fdf0bf97 Update message for invalid source_hash 2015-12-01 11:59:12 -05:00
Loren Gordon
2d20d71bd5 Add file as a source_hash proto 2015-12-01 11:43:47 -05:00
Mike Place
f6d23d8aa2 Merge pull request #29245 from s0undt3ch/features/minion-engines
Engines support on Minions!
2015-12-01 09:35:33 -07:00
Sofian Brabez
539fd52220 modules/monit: complete monit execution module functions
add new functions configtest(), id(), reload(), version() and validate()
to the monit execution module
2015-12-01 17:33:52 +01:00
Mike Place
1129ee1d2e Merge pull request #29272 from jfindlay/win_up_time
win_status module: handle 12 hour time in uptime
2015-12-01 09:33:12 -07:00
Mike Place
0fd3e8b0fb Merge pull request #29289 from terminalmage/issue26526
file.managed: Allow local file sources to use source_hash
2015-12-01 09:19:27 -07:00
Mike Place
7ec486655f Merge pull request #29303 from cachedout/reorder_archive_extract_args
Reorder arg to end
2015-12-01 09:16:59 -07:00
Mike Place
b95f5af2f2 Reorder arg to end.
Refs #29292
2015-12-01 09:16:32 -07:00
Mike Place
bcc3438638 Merge pull request #29292 from magnusboman/archive_extract
Add ability to extract archive if hash has changed
2015-12-01 09:12:51 -07:00
Mike Place
d2fb2109a3 Merge pull request #29296 from douardda/patch-3
Use process KillMode on Debian systems also
2015-12-01 09:00:16 -07:00
David Douard
d2885390f4 Use process KillMode on Debian systems also
closes #29295
2015-12-01 11:16:06 +01:00
Z. Liu
02429aca69 handle acl_type [[d]efault:][user|group|mask|other] 2015-12-01 14:55:08 +08:00
Magnus Boman
3b27f4e212 Fix indentation 2015-12-01 11:23:30 +11:00
Pedro Algarvio
33844c3cbd Lower log levels 2015-12-01 00:16:44 +00:00
Pedro Algarvio
86e9fc9d29 Signal handling is done already in Minion 2015-12-01 00:12:54 +00:00
Magnus Boman
218b1fbb67 Add ability to extract archive if hash has changed 2015-12-01 11:10:35 +11:00
Erik Johnson
64ae3f996e file.managed: Allow local file sources to use source_hash
Fixes #26526.
2015-11-30 16:44:06 -06:00
Mike Place
84c36ec92f Merge pull request #29259 from Unity-Technologies/feature/beacon-adb
Add beacon for android devices
2015-11-30 15:30:18 -07:00
Mike Place
4de97a681d Merge pull request #29285 from cachedout/lint_29224
Implemented batch wait timer
2015-11-30 15:00:50 -07:00
Mike Place
5a3dce4376 Small grammar fix 2015-11-30 14:58:33 -07:00
Mike Place
8d32d8d43d Merge pull request #29264 from alprs/fix-ssh_auth_absent_test
Prevent ssh_auth.absent from running when test=True
2015-11-30 14:54:15 -07:00
Mike Place
7d276bdcd2 Merge pull request #29284 from cachedout/lint_29266
Add logentries engine
2015-11-30 14:48:32 -07:00
Mike Place
0d59fb3a99 Lint fixes 2015-11-30 14:46:49 -07:00