Commit Graph

48166 Commits

Author SHA1 Message Date
Paul Tonelli
ab736e8f48 remove empty functions 2015-03-24 17:40:24 +01:00
Paul Tonelli
15f66d1f0f fix hg_pillar unittest lint errors 2015-03-24 15:52:13 +01:00
ptonelli
abc4e7fd62 Merge pull request #2 from gracinet/hg_pillar
Stronger infinite loop protection
2015-03-16 14:34:09 +01:00
Georges Racinet
e65e5e6411 Reliable avoidance of infinite loops
This works also with more than one hg external pillar.
Still need to adapt test as in PR #21675 to prove it, but transient
experiments confirmed.
2015-03-16 00:29:43 +01:00
ptonelli
361f36b042 Merge pull request #1 from gracinet/hg_pillar
hg_pillar doc
2015-03-05 15:58:42 +01:00
Georges Racinet
19986abecb Conformance of docstrings with Salt coding style
http://docs.saltstack.com/en/latest/topics/development/conventions/style.html#docstring-conventions
http://docs.saltstack.com/en/latest/topics/development/conventions/style.html#single-quotes
2015-03-04 21:16:13 +01:00
Paul Tonelli
ca4061b5b8 add hg_pillar and corresponding unit test 2015-03-04 19:00:23 +01:00
jfindlay
a52ebdac3b Merge pull request #21286 from ahus1/ahus1_releasedocs
make latest 2014.7.x releases visible in documentation
2015-03-03 23:19:26 -07:00
jfindlay
b7d423290c Merge pull request #21285 from atbell/fix_ca_creation
fix ca creation in tls module
2015-03-03 23:17:34 -07:00
Mike Place
97e863187b Merge pull request #21148 from terminalmage/nspawn
Fill out the systemd-nspawn support
2015-03-03 21:44:59 -07:00
Mike Place
a80e9b392a Merge pull request #21273 from thatch45/service_beacon
Service beacon
2015-03-03 21:43:21 -07:00
Alexander Schwartz
0887dfe5d8 make latest 2014.7.x releases visible in documentation 2015-03-03 17:14:06 -07:00
Aaron Bell
855df03604 Merge remote-tracking branch 'upstream/develop' into fix_ca_creation
* upstream/develop: (296 commits)
  adding win_timezone unit test case
  Added autosummary placeholders for new models
  Added new modules to the module indexes
  i always forget these...
  send functions into the beacon loader
  Send execution modules into the beacons system
  Added autosummary generated placeholders for the new module docs
  Avoid TypeError if Tornado is not installed
  Updated all the module index pages with the latest/newest modules
  Added engine modules to modules index in docs
  change engine loader to be raw, no filter func
  Fix ARN lookup when using IAM roles in boto_iam module
  Add Salt engines to zmq
  clean up engine init
  import engines in core.py
  fix main for proc_mgr
  hook the engine start into raet
  init the engines with a function
  Lint fix.
  doc fix
  ...
2015-03-03 15:45:06 -08:00
Aaron Bell
8390c236ba fixing index for ret 2015-03-03 15:40:59 -08:00
Erik Johnson
f3280d31fd docker index URL is a required parameter 2015-03-03 16:29:00 -07:00
Erik Johnson
ec2fe0d553 Add nspawn.remove function
Also adds nspawn.destroy as an alias, for those who are used to managing
LXC containers.
2015-03-03 14:38:53 -07:00
Erik Johnson
046a8fed7a Add compatibility function "remove"
For people using a mix of LXC and nspawn containers
2015-03-03 14:36:45 -07:00
Erik Johnson
10d996305f Add missing CLI examples 2015-03-03 11:35:27 -07:00
Erik Johnson
902d533241 Fix lint failures 2015-03-03 11:20:15 -07:00
Erik Johnson
450ac2543f Update nspawn top-level docstring
This commit reflects the different default location for containers in
systemd >= 219.
2015-03-03 10:24:33 -07:00
Erik Johnson
0a077c14e3 Update test_valid_docs for nspawn compatibility funcs 2015-03-03 10:10:50 -07:00
Erik Johnson
cb1dd5058f Fill out more functionality in nspawn module 2015-03-03 10:10:50 -07:00
Erik Johnson
75c53006d8 Use new utils function to check systemd version 2015-03-03 10:10:50 -07:00
Erik Johnson
ee570cf0a2 Add RST file for nspawn 2015-03-03 10:10:50 -07:00
Erik Johnson
7ed18e2688 Add function to get systemd version 2015-03-03 10:08:56 -07:00
Erik Johnson
84b6c05f8e Fill out some functonality in nspawn module
Add functions to determine and manage container state, as well as
functions to run commands within containers.
2015-03-03 10:08:56 -07:00
Erik Johnson
876042c118 Improve config.get docstring 2015-03-03 10:08:56 -07:00
Erik Johnson
4f1ef1cefb add nspawn.stop 2015-03-03 10:08:56 -07:00
Erik Johnson
3fe0f75e84 Fix nspawn.bootstrap
locals(), in this context, is local to the bootstrap function, needed to
be globals(). Also was missing parenthesis.
2015-03-03 10:08:55 -07:00
Thomas S Hatch
cd475c38ce Merge pull request #21255 from jayeshka/win_timezone-unit-test
adding win_timezone unit test case
2015-03-03 09:58:51 -07:00
Thomas S Hatch
d600041eb1 initial service beacon
I still want to add in support to check for port bindings
2015-03-03 09:46:39 -07:00
Thomas S Hatch
051c944493 Merge pull request #21234 from thatch45/beacons_modules
Beacons modules
2015-03-03 09:36:23 -07:00
Thomas S Hatch
cb83fd5c7a Merge pull request #21230 from lyft/fix-arn-lookup-for-iam-roles
Fix ARN lookup when using IAM roles in boto_iam module
2015-03-03 09:36:14 -07:00
Thomas S Hatch
3467622977 Merge pull request #21229 from thatch45/master_service
Engines
2015-03-03 09:35:48 -07:00
Thomas S Hatch
36ddf6ddb9 I thought I changed the to 2048 a while ago.... 2015-03-03 09:06:57 -07:00
Jayesh Kariya
323c195bcc adding win_timezone unit test case 2015-03-03 18:46:53 +05:30
Seth House
7f6053a3fb Merge pull request #21247 from whiteinge/doc-new-modules
Added new modules to the module indexes
2015-03-02 22:15:22 -07:00
Seth House
714921a5dc Added autosummary placeholders for new models 2015-03-02 22:14:33 -07:00
Seth House
b6c1b2601f Added new modules to the module indexes 2015-03-02 22:13:42 -07:00
jfindlay
6d02715f17 Merge pull request #21235 from whiteinge/merge-2015.2-forward
Merge 2015.2 forward
2015-03-02 15:50:02 -07:00
Thomas S Hatch
eaea4b0a65 Merge branch 'master_service' of github.com:thatch45/salt into master_service 2015-03-02 14:42:07 -07:00
Thomas S Hatch
073c9ee31f i always forget these... 2015-03-02 14:38:33 -07:00
Seth House
1399949196 Merge remote-tracking branch 'upstream/2015.2' into develop 2015-03-02 14:19:37 -07:00
Thomas S Hatch
05a34c3c27 send functions into the beacon loader
__salt__ for beacons
2015-03-02 14:15:50 -07:00
Seth House
3e6c2f75cd Merge remote-tracking branch 'upstream/2014.7' into 2015.2 2015-03-02 14:13:09 -07:00
Thomas S Hatch
8baf83a61f Send execution modules into the beacons system 2015-03-02 14:11:58 -07:00
Pedro Algarvio
284be9b742 Merge pull request #21231 from whiteinge/doc-new-modules
Added autosummary docs for all new modules
2015-03-02 21:11:38 +00:00
Seth House
57b1f67daa Added autosummary generated placeholders for the new module docs 2015-03-02 14:07:18 -07:00
Seth House
b0327e1912 Avoid TypeError if Tornado is not installed
Backport of 90b481b8 (pull req #21166)

Traceback (most recent call last):
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/cmdline.py", line 245, in main
     opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/application.py", line 181, in __init__
     self._init_builder(buildername)
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/application.py", line 243, in _init_builder
     self.emit('builder-inited')
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/application.py", line 504, in emit
     results.append(callback(self, *args))
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/ext/autosummary/__init__.py", line 551, in process_generate_options
     base_path=app.srcdir)
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/ext/autosummary/generate.py", line 111, in generate_autosummary_docs
     items = find_autosummary_in_files(sources)
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/ext/autosummary/generate.py", line 226, in find_autosummary_in_files
     documented.extend(find_autosummary_in_lines(lines, filename=filename))
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/ext/autosummary/generate.py", line 323, in find_autosummary_in_lines
     current_module, filename=filename))
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/ext/autosummary/generate.py", line 236, in find_autosummary_in_docstring
     real_name, obj, parent, modname = import_by_name(name)
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/ext/autosummary/__init__.py", line 460, in import_by_name
     obj, parent, modname = _import_by_name(prefixed_name)
   File "/Users/shouse/tmp/venvs/sphinx/lib/python2.7/site-packages/sphinx/ext/autosummary/__init__.py", line 475, in _import_by_name
     __import__(modname)
   File "/Users/shouse/src/salt/salt/salt/netapi/rest_tornado/__init__.py", line 19, in <module>
     if distutils.version.StrictVersion(tornado.version) >= \
   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/version.py", line 40, in __init__
     self.parse(vstring)
   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/version.py", line 105, in parse
     match = self.version_re.match(vstring)
 TypeError: expected string or buffer
2015-03-02 14:03:23 -07:00
Seth House
1382401618 Updated all the module index pages with the latest/newest modules 2015-03-02 13:59:19 -07:00