Commit Graph

45075 Commits

Author SHA1 Message Date
Thomas Jackson
f160f5e104 Support proxy modules, and misc pylint fixup 2015-02-07 11:53:54 -08:00
Thomas Jackson
7ad65233b9 Add support for non-virtual loader dicts and remove old loader class
Conflicts:
	salt/loader.py
2015-02-07 11:53:46 -08:00
Thomas Jackson
054daa8c48 Remove majority of *old* loader code
Conflicts:
	salt/loader.py
2015-02-07 11:53:24 -08:00
Thomas Jackson
7cb1f3c996 Move to clear() for new loader 2015-02-07 11:52:46 -08:00
Thomas Jackson
f9e48c86f3 Use clear() to reload 2015-02-07 11:52:46 -08:00
Thomas Jackson
627c808514 Fix type error 2015-02-07 11:52:42 -08:00
Thomas Jackson
093e3a2351 Add depends support to new lazyloader 2015-02-07 11:52:40 -08:00
Thomas Jackson
fc6dea0657 Add support for multiple types of functions by namespacing out the dep dict
Conflicts:
	salt/utils/decorators/__init__.py
2015-02-07 11:52:35 -08:00
Thomas Jackson
d8bbce29d3 Catch case where 'return' not in opts, or other ways to get an empty returner (as it will just fail anyways) 2015-02-07 11:51:36 -08:00
Thomas Jackson
6fc29454d1 pylint 2015-02-07 11:51:36 -08:00
Thomas Jackson
260feaf764 Re-add pyx support 2015-02-07 11:51:36 -08:00
Thomas Jackson
f2688a6deb Handle disk better
Since we are now loading the "squashfs" into memory, we need to handle the inevitable case where the disk content changes. This will re-load from disk up to once per get when a file is missing or we loaded everything else.
2015-02-07 11:51:36 -08:00
Thomas Jackson
e71f7b55e5 Fix grains caching 2015-02-07 11:51:32 -08:00
Thomas Jackson
b0e1425fc8 Migrate everything over to NewLazyLoader
Conflicts:
	salt/loader.py
2015-02-07 11:51:25 -08:00
Thomas Jackson
e26ff89956 Some major hacking of the loader, don't really like it... but i guess i'll keep it around for a while
Conflicts:
	salt/loader.py
2015-02-07 11:50:57 -08:00
Seth House
9a1a2db3aa Merge remote-tracking branch 'upstream/2014.7' into 2015.2 2015-02-06 19:52:23 -07:00
Pedro Algarvio
5586c2064b Merge pull request #20487 from whiteinge/doc-remove-mako-mock
Remove Mako from mocked deps for docs build
2015-02-07 02:28:53 +00:00
Seth House
bf6dfe823e Remove Mako from mocked deps for docs build
If Mako was mocked for a reason originally, it doesn't seem to be needed
anymore. The docs build just fine with and without Mako installed.

Closes #9571 (at long last).
2015-02-06 19:00:35 -07:00
jfindlay
f57c15f672 Merge pull request #20480 from basepi/saltssh.errors.20223
[2014.7] Fix bugs in salt-ssh cleanup code from #20229
2015-02-06 16:10:46 -07:00
Colton Myers
7fc92c8dce Merge pull request #20483 from basepi/fixcronmergeforward
Fix an error caused by a bad merge forward
2015-02-06 15:43:27 -07:00
Colton Myers
307212c0e0 Fix an error caused by a bad merge forward 2015-02-06 15:42:55 -07:00
Colton Myers
024938341e Fix pylint 2015-02-06 15:25:15 -07:00
Colton Myers
1370fddfef Yield ret immediately 2015-02-06 15:03:54 -07:00
Colton Myers
48c029efdb Fix race condition in salt-ssh cleanup
Conflicts:
	salt/client/ssh/__init__.py
2015-02-06 15:03:39 -07:00
jfindlay
3872ffb9ef Merge pull request #20479 from basepi/merge-forward-2015.2
Merge forward from 2014.7 to 2015.2
2015-02-06 14:04:03 -07:00
Colton Myers
6e7df06e05 Remove code as instructed by @jfindlay 2015-02-06 13:13:30 -07:00
Colton Myers
56520f4ac9 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
Conflicts:
	conf/minion
	salt/modules/cron.py
	salt/modules/pip.py
	salt/modules/tls.py
2015-02-06 13:00:14 -07:00
Thomas S Hatch
94b1316811 Merge pull request #20462 from thatch45/schedule_track
Add minute granular start time
2015-02-06 10:36:15 -07:00
Thomas S Hatch
15b1a459ba Merge pull request #20445 from whiteinge/doc-preseed-key-links
Add cross-refs to other ways to preseed minion keys
2015-02-06 10:34:37 -07:00
Thomas S Hatch
b40bfae919 Merge pull request #20440 from techhat/pageropts
Ensure that creds is a dict (pagerduty)
2015-02-06 10:31:21 -07:00
Thomas S Hatch
91e2b6db93 Merge pull request #20424 from techhat/thinrequests
Remove requests from the thin tarball
2015-02-06 10:30:47 -07:00
Mike Place
c96b4725ae Merge pull request #20465 from cachedout/safemode_config
Fix mismatched config value for auth_safemode
2015-02-06 08:51:40 -07:00
Mike Place
f9cb6cdeeb Fix mismatched config value for auth_safemode
The actual default is false.

Closes #19945
2015-02-06 09:19:10 -07:00
Nicole Thomas
193a8138fd Merge pull request #20460 from rallytime/pylint_15_PR_cleanup
Clean up some pylint on 2015.2
2015-02-06 08:46:15 -07:00
Thomas S Hatch
9b70bfcf66 use utc time 2015-02-06 08:27:57 -07:00
Thomas S Hatch
f335d92d04 Add minute granular start time 2015-02-06 08:23:46 -07:00
rallytime
db612d0b81 Clean up some pylint on 2015.2
This way PRs against 2015.2 will be a little happier
2015-02-06 07:58:26 -07:00
Nicole Thomas
2aec7ddd24 Merge pull request #20434 from rallytime/bp-20427
Backport #20427 to 2015.2
2015-02-06 07:53:25 -07:00
Nicole Thomas
debb844cca Merge pull request #20433 from rallytime/bp-20386
Backport #20386 to 2014.7
2015-02-06 07:52:23 -07:00
Mike Place
33cfeb6b01 Merge pull request #20448 from whiteinge/doc-sse-tag-field
Clarify and update SSE example docs
2015-02-05 20:40:14 -07:00
C. R. Oldham
a0ab98d1ab Merge pull request #20437 from cro/linode-python-driver
Add salt-cloud driver backed by linode-python.
2015-02-05 20:38:28 -07:00
Seth House
7916bb625e Note non-standard SSE tag field; update examples for new event tag style
The addition in a720149 was incorrect. The SSE spec has an optional
field called 'event' not 'tag' which specifies the event type.

Unfortunately the EventSource client can only subscribe to either all
events without a type or to events with a specified type. There is no
way to subscribe to all events with varying types. The best workaround
is to keep the tag in the event data, subscribe to all events, and
filter on tags manually.

Fortunately the SSE spec specifies that unknown fields should be ignored
so this addition is still useful for clients that don't mind deviating
from the spec and we can keep from breaking backward-compat.
2015-02-05 20:24:13 -07:00
C. R. Oldham
e22f591a33 Pylint 2015-02-05 19:58:05 -07:00
C. R. Oldham
be96900477 Pylint 2015-02-05 19:42:11 -07:00
Seth House
da45f63b9f Fixed incorrect rST cross-ref 2015-02-05 19:15:46 -07:00
Seth House
15936658ba Added cross-references to other ways to preseed minion keys 2015-02-05 19:15:46 -07:00
Joseph Hall
967191f6ef Merge pull request #20442 from rallytime/pylint_seven
Fix etcd_return pylint error
2015-02-05 17:57:19 -07:00
C. R. Oldham
ba66f44bd9 Pylint 2015-02-05 17:24:01 -07:00
rallytime
e4d8db4160 Fix etcd_return pylint error 2015-02-05 16:42:41 -07:00
Joseph Hall
89d3cc2944 Ensure that creds is a dict (pagerduty) 2015-02-05 16:20:05 -07:00