Commit Graph

35756 Commits

Author SHA1 Message Date
Samuel M Smith
d3ed1d8cf4 Merge remote-tracking branch 'upstream/2014.7' into 2014.7_sam4 2014-09-29 10:21:26 -06:00
Samuel M Smith
5e85f28a98 Added debug statement 2014-09-29 10:20:51 -06:00
Bruno Binet
f9f8ac1b1f docfix: user_update was documented as user_create
s/user_update/user_create/
2014-09-29 17:49:39 +02:00
Grischa Meyer
5bd7a4083f improved compatibility with different versions of novaclient 2014-09-29 11:33:25 +10:00
Pedro Algarvio
47090b472b Merge pull request #16214 from rallytime/pylint
Pylint fix for 2014.7 branch
2014-09-29 00:08:51 +01:00
rallytime
9da5a370f5 Pylint fix for 2014.7 branch 2014-09-28 14:17:58 -06:00
Erik Johnson
7c081589cb Add versionadded RST directive 2014-09-28 12:45:42 -05:00
Erik Johnson
d380c88d22 Add versionadded RST directive 2014-09-28 12:45:42 -05:00
Erik Johnson
1e4f030499 Add versionadded RST directive 2014-09-28 12:45:42 -05:00
rallytime
0b99acc381 Add info about running unittests w/o integration test daemons 2014-09-28 10:52:37 -06:00
Joseph Hall
f817def57b Merge pull request #16199 from terminalmage/docs
RST formatting fixes
2014-09-27 05:36:36 -06:00
Erik Johnson
aaf1aa62c0 RST formatting fixes 2014-09-26 23:25:42 -05:00
Samuel Smith
662d3d50ef Merge pull request #16177 from SmithSamuelM/2014.7_sam4
Clean up RAETChannel changes to support different usages
2014-09-26 19:41:08 -06:00
Samuel M Smith
d34e8867b7 Merge remote-tracking branch 'upstream/2014.7' into 2014.7_sam4 2014-09-26 19:38:02 -06:00
Thomas S Hatch
2f82e80293 Merge pull request #16192 from rallytime/stock_conf
Touch up formatting in master/minion stock conf
2014-09-26 16:49:04 -06:00
Thomas S Hatch
48d776be48 lint 2 2014-09-26 16:08:30 -06:00
Thomas S Hatch
99988a424f Lint 1 2014-09-26 16:07:57 -06:00
Thomas S Hatch
b6f88653a9 Merge branch '2014.7_sam4' of https://github.com/SmithSamuelM/salt into SmithSamuelM-2014.7_sam4 2014-09-26 16:07:18 -06:00
rallytime
4402fd80fb Clean up formatting of minion stock conf file 2014-09-26 15:38:49 -06:00
rallytime
33369370d9 Clean up formatting of master stock conf file 2014-09-26 15:15:40 -06:00
Thomas S Hatch
34223e4aab Merge pull request #16186 from rallytime/bp-16077
Backport #16077 to 2014.7
2014-09-26 14:59:50 -06:00
Thomas S Hatch
5e95bf7d51 Merge pull request #16171 from thatch45/16075
Use the config_dir to find the roster
2014-09-26 14:57:03 -06:00
Thomas S Hatch
0168f6c5ee Merge pull request #16157 from thatch45/pillar_opts
Deprecate pillar_opts being True warnings
2014-09-26 14:48:56 -06:00
Thomas S Hatch
968faf1331 Merge pull request #16127 from jacksontj/timeout_fixes
Backport of #16078
2014-09-26 14:37:01 -06:00
Thomas S Hatch
e26b940642 Merge pull request #16163 from gtmanfred/2014.7
move systemd notify to process
2014-09-26 14:22:42 -06:00
Thomas S Hatch
0d609ac14e Merge pull request #16170 from thatch45/16165
Fix the mods path in the shim and pass mods into wfuncs
2014-09-26 14:22:11 -06:00
Dave Rawks
58ac89dd47 Minor edit for lint 2014-09-26 12:50:18 -06:00
Dave Rawks
b41dac3072 Some improvements to parsing cmd output in list_
* Properly ignore "header" lines which indicate output in "CHS" or "CYL"
* Raise salt.exceptions.CommandExecutionError on unexpected parsing
	failures
* Always check for correct len of cols array before unpacking by index
2014-09-26 12:49:14 -06:00
Dave Rawks
1ad50f7dc6 Remove use of try/except for flow control
If the intent is to only extract the 7th column if it exists then it
makes more sense to actually test for the number of columns rather than
catch an IndexError which may occur at any of the 3 list index
operations within the try block.
2014-09-26 12:49:06 -06:00
Dave Rawks
213c2f64e8 Renamed comps variable to cols for readability
I'm not sure what comps is short for, but this code is definitely doing
column-wise parsing.
2014-09-26 12:48:54 -06:00
Dave Rawks
bd978ff900 Don't execute lsblk using absolute path
* Removed absolute path from lsblk call. Code already tests if lsblk is
in PATH, whichever lsblk satisfied that test in __virtual__ should be
the command that is called.
2014-09-26 12:43:11 -06:00
Dave Rawks
4747b0ea73 Removed all the "os.listdir" based "checks"
* Per #15950 comparison against output of os.listdir is not a sane way to
test for existence of block devices.
2014-09-26 12:39:30 -06:00
Nicole Thomas
cff5b189e2 Merge pull request #16156 from rallytime/bp-16035
Backport #16035 to 2014.7
2014-09-26 12:04:15 -06:00
Nicole Thomas
e6f20c78dd Merge pull request #16169 from rfairburn/network-module-docs
salt/salt/modules/network.py documentation. Added versionadded to functions new in 2014.7
2014-09-26 11:46:44 -06:00
Nicole Thomas
7e14222fb5 Merge pull request #16172 from terminalmage/docs
Update docs reference to Halite
2014-09-26 11:37:35 -06:00
C. R. Oldham
18b10aef53 Merge pull request #16168 from cro/raet_key_color_20147
Fix stacktrace in salt-key when using raet
2014-09-26 10:55:09 -06:00
Samuel M Smith
899579439a Merge remote-tracking branch 'upstream/2014.7' into 2014.7_sam4 2014-09-26 10:20:27 -06:00
Samuel M Smith
17707f8a36 more clean up 2014-09-26 10:19:57 -06:00
Samuel M Smith
f3d97733a5 Clean up new handling RAETCHannel as per feedback 2014-09-26 10:16:41 -06:00
C. R. Oldham
75bcad9e12 Pylint fix 2014-09-26 09:34:15 -06:00
Erik Johnson
1a88ebf1f8 Update docs reference to Halite
Halite is no longer "new", and shouldn't be referred to as such.
2014-09-25 23:54:59 -05:00
Thomas S Hatch
cfd7dba53c use the config_dir to find the roster 2014-09-25 22:24:43 -06:00
Thomas S Hatch
f934e4130a Fix #16165, fix the mods path in the shim and pass mods into wfuncs 2014-09-25 21:41:30 -06:00
Thomas S Hatch
208837a5d3 Merge pull request #16132 from rallytime/unused_arg
Remove unused refresh argument
2014-09-25 21:13:05 -06:00
Robert Fairburn
e06700a044 salt/salt/modules/network.py documentation. Added versionadded to functions new in 2014.7 2014-09-25 21:56:42 -05:00
C. R. Oldham
dd1c2f8a59 Fix key coloring for raet transport. 2014-09-25 17:46:00 -06:00
Samuel M Smith
87718a63d5 Fixed comflict
Merge remote-tracking branch 'upstream/2014.7' into 2014.7_sam4

Conflicts:
	salt/transport/__init__.py
2014-09-25 17:41:51 -06:00
Samuel M Smith
37e7a2e283 Modified RAETChannel and Channel factory
Channel factory now has usage argument this is used by RAETChannel to determine routing destination addressing

Fixed three usages of RAETChannel

usage == 'local_cmd'  # Used by master_call for master to master communications
usage == 'call_cmd'   # Used by salt-call for cli to master communications through minion
otherwise default usage == None  # Used by minion to master communications

The destination estate is now None for all three usages.

These usages get translated into share destinations in the route dict for raet messages

usage 'local_cmd'  -> destination share 'local_cmd'
usage 'call_cmd'   -> destination share 'call_cmd'
usage None         -> destination share 'remote_cmd'

Fixed core.py Lane Router _process_uxd_rxmsg to recognize the share destinations and
do the apppropriate routing

Mainly this allows the destination estate to be none when a RAETCHannel is created and then
the router can substitute the approapriate destination estate for the master
2014-09-25 17:29:32 -06:00
rallytime
ec2b6346bd Ignore unused arg instead 2014-09-25 16:50:09 -06:00
Colton Myers
1450887baa Merge pull request #16162 from rallytime/skip_vt_test
Skip test_vt_size unit test
2014-09-25 16:35:17 -06:00