Skip to content

Commit

Permalink
Merge branch '2016.11' into 'develop'
Browse files Browse the repository at this point in the history
Conflicts:
  - doc/ref/configuration/minion.rst
  • Loading branch information
rallytime committed Dec 20, 2016
2 parents 6e5d866 + 530f495 commit 494a06b
Show file tree
Hide file tree
Showing 203 changed files with 769 additions and 583 deletions.
2 changes: 1 addition & 1 deletion HACKING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Edit the minion config file:
also running a non-development version of Salt, then you will have to
change the ``master_port`` value in the minion config to match.

.. note:: Using `salt-call` with a :doc:`Standalone Minion </topics/tutorials/standalone_minion>`
.. note:: Using `salt-call` with a :ref:`Standalone Minion <tutorial-standalone-minion>`

If you plan to run `salt-call` with this self-contained development
environment in a masterless setup, you should invoke `salt-call` with
Expand Down
4 changes: 2 additions & 2 deletions doc/_incl/requisite_incl.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Before continuing** make sure you have a working Salt installation by
following the :doc:`installation </topics/installation/index>` and the
:doc:`configuration </ref/configuration/index>` instructions.
following the :ref:`installation` and the
:ref:`configuration <configuring-salt>` instructions.

.. admonition:: Stuck?

Expand Down
2 changes: 2 additions & 0 deletions doc/contents.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _table-of-contents:

======================
Salt Table of Contents
======================
Expand Down
8 changes: 4 additions & 4 deletions doc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ SaltStack the company does make proprietary products which use Salt and its libr
.. _`Apache 2.0 license`: http://www.apache.org/licenses/LICENSE-2.0.html

I think I found a bug! What should I do?
-----------------------------------------
----------------------------------------

The salt-users mailing list as well as the salt IRC channel can both be helpful
resources to confirm if others are seeing the issue and to assist with
immediate debugging.

To report a bug to the Salt project, please follow the instructions in
:doc:`reporting a bug </topics/development/reporting_bugs>`.
:ref:`reporting a bug <reporting-bugs>`.


What ports should I open on my firewall?
----------------------------------------

Minions need to be able to connect to the Master on TCP ports 4505 and 4506.
Minions do not need any inbound ports open. More detailed information on
firewall settings can be found :doc:`here </topics/tutorials/firewall>`.
firewall settings can be found :ref:`here <firewall>`.

I'm seeing weird behavior (including but not limited to packages not installing their users properly)
-----------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -207,7 +207,7 @@ Does Salt support backing up managed files?
-------------------------------------------

Yes. Salt provides an easy to use addition to your file.managed states that
allow you to back up files via :doc:`backup_mode </ref/states/backup_mode>`,
allow you to back up files via :ref:`backup_mode <file-state-backups>`,
backup_mode can be configured on a per state basis, or in the minion config
(note that if set in the minion config this would simply be the default
method to use, you still need to specify that the file should be backed up!).
Expand Down
4 changes: 3 additions & 1 deletion doc/ref/cli/salt-extend.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _salt-extend:

===============
``salt-extend``
===============
Expand Down Expand Up @@ -26,7 +28,7 @@ You can use Salt Extend to quickly create templated modules for adding new behav

Salt Extend takes a template directory and merges it into a SaltStack source code directory.

*See also*: :doc:`Salt Extend </topics/development/extend/index>`.
*See also*: :ref:`Salt Extend <development-salt-extend>`.

Options
=======
Expand Down
2 changes: 2 additions & 0 deletions doc/ref/cli/salt-key.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _salt-key:

============
``salt-key``
============
Expand Down
2 changes: 2 additions & 0 deletions doc/ref/cli/salt-run.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _salt-run:

============
``salt-run``
============
Expand Down
2 changes: 2 additions & 0 deletions doc/ref/cli/salt.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _ref-cli-salt:

========
``salt``
========
Expand Down
14 changes: 7 additions & 7 deletions doc/ref/configuration/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interfaces (0.0.0.0). To bind Salt to a specific IP, redefine the
+ interface: 10.0.0.1
After updating the configuration file, restart the Salt master.
See the :doc:`master configuration reference </ref/configuration/master>`
See the :ref:`master configuration reference <configuration-salt-master>`
for more details about other configurable options.

Minion Configuration
Expand All @@ -48,7 +48,7 @@ configuration file, typically ``/etc/salt/minion``, as follows:
+ master: 10.0.0.1
After updating the configuration file, restart the Salt minion.
See the :doc:`minion configuration reference </ref/configuration/minion>`
See the :ref:`minion configuration reference <configuration-salt-minion>`
for more details about other configurable options.

Running Salt
Expand Down Expand Up @@ -78,8 +78,8 @@ Running Salt
salt-master --log-level=debug
For information on salt's logging system please see the :doc:`logging
document</ref/configuration/logging/index>`.
For information on salt's logging system please see the :ref:`logging
document<logging>`.


.. admonition:: Run as an unprivileged (non-root) user
Expand All @@ -97,10 +97,10 @@ Running Salt
* /var/run/salt

More information about running salt as a non-privileged user can be found
:doc:`here </ref/configuration/nonroot>`.
:ref:`here <configuration-non-root-user>`.


There is also a full :doc:`troubleshooting guide</topics/troubleshooting/index>`
There is also a full :ref:`troubleshooting guide<troubleshooting>`
available.

.. _key-identity:
Expand Down Expand Up @@ -180,7 +180,7 @@ The ``salt-key`` command allows for signing keys individually or in bulk. The
example above, using ``-A`` bulk-accepts all pending keys. To accept keys
individually use the lowercase of the same option, ``-a keyname``.

.. seealso:: :doc:`salt-key manpage </ref/cli/salt-key>`
.. seealso:: :ref:`salt-key manpage <salt-key>`

Sending Commands
================
Expand Down
2 changes: 1 addition & 1 deletion doc/ref/configuration/logging/handlers/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. conf_log:: external-logging-handlers
.. _external-logging-handlers:

External Logging Handlers
-------------------------
Expand Down
8 changes: 5 additions & 3 deletions doc/ref/configuration/logging/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _logging:

=======
Logging
=======
Expand All @@ -6,8 +8,8 @@ The salt project tries to get the logging to work for you and help us solve any
issues you might find along the way.

If you want to get some more information on the nitty-gritty of salt's logging
system, please head over to the :doc:`logging development
document</topics/development/logging>`, if all you're after is salt's logging
system, please head over to the :ref:`logging development
document<logging-internals>`, if all you're after is salt's logging
configurations, please continue reading.


Expand Down Expand Up @@ -237,5 +239,5 @@ External Logging Handlers
-------------------------

Besides the internal logging handlers used by salt, there are some external
which can be used, see the :doc:`external logging handlers<handlers/index>`
which can be used, see the :ref:`external logging handlers<external-logging-handlers>`
document.
6 changes: 3 additions & 3 deletions doc/ref/configuration/minion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Default: ``salt``
master: salt
The option can also be set to a list of masters, enabling
:doc:`multi-master </topics/tutorials/multimaster>` mode.
:ref:`multi-master <tutorial-multi-master>` mode.

.. code-block:: yaml
Expand Down Expand Up @@ -1192,8 +1192,8 @@ and/or having to install specific modules' dependencies in system libraries.
Default: (empty)

A module provider can be statically overwritten or extended for the minion via
the ``providers`` option. This can be done :doc:`on an individual basis in an
SLS file <../states/providers>`, or globally here in the minion config, like
the ``providers`` option. This can be done :ref:`on an individual basis in an
SLS file <state-providers>`, or globally here in the minion config, like
below.

.. code-block:: yaml
Expand Down
2 changes: 2 additions & 0 deletions doc/ref/configuration/nonroot.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _configuration-non-root-user:

======================================================
Running the Salt Master/Minion as an Unprivileged User
======================================================
Expand Down
2 changes: 2 additions & 0 deletions doc/ref/runners/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _runners:

=======
Runners
=======
Expand Down
2 changes: 2 additions & 0 deletions doc/ref/states/aggregate.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _mod-aggregate-state:

=========================================
Mod Aggregate State Runtime Modifications
=========================================
Expand Down
2 changes: 2 additions & 0 deletions doc/ref/states/backup_mode.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _file-state-backups:

==================
File State Backups
==================
Expand Down
4 changes: 2 additions & 2 deletions doc/ref/states/highstate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ during state execution.

Configurable via :conf_master:`state_top`.

.. seealso:: :doc:`A detailed description of the top file </ref/states/top>`
.. seealso:: :ref:`A detailed description of the top file <states-top>`

.. _include-declaration:

Expand Down Expand Up @@ -115,7 +115,7 @@ declaration that will restart Apache whenever the Apache configuration file,
<requisites-watch-in>` or :ref:`require_in <requisites-require-in>` syntax
instead of extending another ``SLS`` file.

:doc:`State Requisites </ref/states/requisites>`
:ref:`State Requisites <requisites>`

.. _state-declaration:

Expand Down
2 changes: 2 additions & 0 deletions doc/ref/states/include.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _states-include:

===================
Include and Exclude
===================
Expand Down
6 changes: 4 additions & 2 deletions doc/ref/states/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _state-system-reference:

======================
State System Reference
======================
Expand Down Expand Up @@ -25,7 +27,7 @@ configure and manage a few servers or a few thousand servers. It allows
configurations to be kept under version control.

Salt States is an extension of the Salt Modules that we discussed in the
previous :doc:`remote execution </topics/tutorials/modules>` tutorial. Instead
previous :ref:`remote execution <tutorial-remote-execution-modules>` tutorial. Instead
of calling one-off executions the state of a system can be easily defined and
then enforced.

Expand All @@ -39,7 +41,7 @@ an understanding of Salt states and how to write the states is needed as well.
.. note::

States are compiled and executed only on minions that have been targeted.
To execute functions directly on masters, see :doc:`runners </ref/runners/index>`.
To execute functions directly on masters, see :ref:`runners <runners>`.

Salt SLS System
---------------
Expand Down
2 changes: 2 additions & 0 deletions doc/ref/states/providers.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _state-providers:

===============
State Providers
===============
Expand Down
4 changes: 4 additions & 0 deletions doc/ref/states/requisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ expects to deploy fresh code via the file.recurse call. The site-code
deployment will only be executed if the graceful-down run completes
successfully.

.. _requisites-onfail:

onfail
~~~~~~

Expand Down Expand Up @@ -421,6 +423,8 @@ The ``onfail`` requisite is applied in the same way as ``require`` as ``watch``:

.. _Issue #22370: https://github.com/saltstack/salt/issues/22370

.. _requisites-onchanges:

onchanges
~~~~~~~~~

Expand Down
4 changes: 2 additions & 2 deletions doc/ref/states/top.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ Advanced Minion Targeting
=========================

In addition to globs, minions can be specified in top files a few other
ways. Some common ones are :doc:`compound matches </topics/targeting/compound>`
and :doc:`node groups </topics/targeting/nodegroups>`.
ways. Some common ones are :ref:`compound matches <targeting-compound>`
and :ref:`node groups <targeting-nodegroups>`.

Below is a slightly more complex top file example, showing the different types
of matches you can perform:
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Salt Cloud basic usage

Salt Cloud needs, at least, one configured
:ref:`Provider <cloud-provider-specifics>`
and :doc:`Profile <profiles>` to be functional.
and :ref:`Profile <salt-cloud-profiles>` to be functional.

Creating a VM
-------------
Expand Down
2 changes: 2 additions & 0 deletions doc/topics/cloud/gce.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _cloud-getting-started-gce:

==========================================
Getting Started With Google Compute Engine
==========================================
Expand Down
4 changes: 2 additions & 2 deletions doc/topics/cloud/install/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Install Salt Cloud
==================

Salt Cloud is now part of Salt proper. It was merged in as of
:doc:`Salt version 2014.1.0 </topics/releases/2014.1.0>`.
:ref:`Salt version 2014.1.0 <release-2014-1-0>`.

On Ubuntu, install Salt Cloud by using following command:

Expand All @@ -28,4 +28,4 @@ Installing Salt Cloud for development
Installing Salt for development enables Salt Cloud development as well, just
make sure ``apache-libcloud`` is installed as per above paragraph.

See these instructions: :doc:`Installing Salt for development </topics/development/hacking>`.
See these instructions: :ref:`Installing Salt for development <installing-for-development>`.
2 changes: 1 addition & 1 deletion doc/topics/cloud/lxc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Here are the options to configure your containers:
dnsservers
List of DNS servers to use. This is optional.
minion
minion configuration (see :doc:`Minion Configuration in Salt Cloud </topics/cloud/config>`)
minion configuration (see :ref:`Minion Configuration in Salt Cloud <salt-cloud-config>`)
bootstrap_delay
specify the time to wait (in seconds) between container creation
and salt bootstrap execution. It is useful to ensure that all essential services
Expand Down
4 changes: 2 additions & 2 deletions doc/topics/cloud/openstack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ ssh_interface
for a certain period of time and then destroys the VM. With the nova drive,
private cloud networks can be defined here.

For more information concerning cloud profiles, see :doc:`here
</topics/cloud/profiles>`.
For more information concerning cloud profiles, see :ref:`here
<salt-cloud-profiles>`.


change_password
Expand Down
4 changes: 2 additions & 2 deletions doc/topics/cloud/profitbricks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,5 @@ wait_for_timeout
The timeout to wait in seconds for provisioning resources such as servers.
The default wait_for_timeout is 15 minutes.

For more information concerning cloud profiles, see :doc:`here
</topics/cloud/profiles>`.
For more information concerning cloud profiles, see :ref:`here
<salt-cloud-profiles>`.
2 changes: 2 additions & 0 deletions doc/topics/cloud/releases/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
:orphan:

.. _legacy-salt-cloud-release-notes:

===============================
Legacy salt-cloud Release Notes
===============================
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Virtual Machines Are Created, But Do Not Respond

Are TCP ports 4505 and 4506 open on the master? This is easy to overlook on new
masters. Information on how to open firewall ports on various platforms can be
found :doc:`here </topics/tutorials/firewall>`.
found :ref:`here <firewall>`.


Generic Troubleshooting Steps
Expand Down
2 changes: 2 additions & 0 deletions doc/topics/cloud/vmware.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _cloud-getting-started-vmware:

===========================
Getting Started With VMware
===========================
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/development/conventions/style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ When adding a new function or state, where possible try to use a
If you are uncertain what version should be used, either consult a core
developer in IRC or bring this up when opening your
:doc:`pull request </topics/development/hacking>` and a core developer will add the proper
:ref:`pull request <installing-for-development>` and a core developer will add the proper
version once your pull request has been merged. Bugfixes will be available in a
bugfix release (i.e. 0.17.1, the first bugfix release for 0.17.0), while new
features are held for feature releases, and this will affect what version
Expand Down
2 changes: 2 additions & 0 deletions doc/topics/development/deprecations.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _deprecations:

================
Deprecating Code
================
Expand Down
Loading

0 comments on commit 494a06b

Please sign in to comment.