mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #39313 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
This commit is contained in:
commit
9de559ff4e
4 changed files with 7 additions and 7 deletions
|
@ -217,7 +217,6 @@ pseudoxml: translations
|
|||
@echo
|
||||
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
|
||||
|
||||
|
||||
translations:
|
||||
@if [ "$(SPHINXLANG)" = "en" ] || [ "x$(SPHINXLANG)" = "x" ]; then \
|
||||
echo "No need to update translations. Skipping..."; \
|
||||
|
|
|
@ -243,10 +243,10 @@ You can now call all of Salt's CLI tools without explicitly passing the configur
|
|||
Additional Options
|
||||
..................
|
||||
|
||||
In case you want to distribute your virtualenv, you probably don't want to
|
||||
include Salt's clone ``.git/`` directory, and, without it, Salt won't report
|
||||
the accurate version. You can tell ``setup.py`` to generate the hardcoded
|
||||
version information which is distributable:
|
||||
If you want to distribute your virtualenv, you probably don't want to include
|
||||
Salt's clone ``.git/`` directory, and, without it, Salt won't report the
|
||||
accurate version. You can tell ``setup.py`` to generate the hardcoded version
|
||||
information which is distributable:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
|
|
@ -350,7 +350,8 @@ Pre 2015.8 the proxymodule also must have an ``id()`` function. 2015.8 and foll
|
|||
this function because the proxy's id is required on the command line.
|
||||
|
||||
Here is an example proxymodule used to interface to a *very* simple REST
|
||||
server. Code for the server is in the `salt-contrib GitHub repository <https://github.com/saltstack/salt-contrib/proxyminion_rest_example>`_
|
||||
server. Code for the server is in the `salt-contrib GitHub repository
|
||||
<https://github.com/saltstack/salt-contrib/tree/master/proxyminion_rest_example>`_
|
||||
|
||||
This proxymodule enables "service" enumeration, starting, stopping, restarting,
|
||||
and status; "package" installation, and a ping.
|
||||
|
|
|
@ -338,7 +338,7 @@ call should return.
|
|||
alias='fred')
|
||||
self.assertEqual(tgt_ret, 'bob')
|
||||
|
||||
Using multiple Salt commands in this manor provides two useful benefits. The first is
|
||||
Using multiple Salt commands in this manner provides two useful benefits. The first is
|
||||
that it provides some additional coverage for the ``aliases.set_target`` function.
|
||||
The second benefit is the call to ``aliases.get_target`` is not dependent on the
|
||||
presence of any aliases set outside of this test. Tests should not be dependent on
|
||||
|
|
Loading…
Add table
Reference in a new issue