mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #38403 from terminalmage/document-saltenv
git_pillar: Document the transition from env to saltenv in the jinja context
This commit is contained in:
commit
453476d982
@ -122,7 +122,7 @@ The corresponding Pillar top file would look like this:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
{{env}}:
|
||||
{{saltenv}}:
|
||||
'*':
|
||||
- bar
|
||||
|
||||
@ -139,6 +139,10 @@ The corresponding Pillar top file would look like this:
|
||||
to :conf_master:`gitfs_base`. This has been fixed in the 2016.3.5 and
|
||||
2016.11.1 releases (2016.11.0 contains the incorrect behavior).
|
||||
|
||||
Additionally, in releases before 2016.11.0, both ``{{env}}`` and
|
||||
``{{saltenv}}`` could be used as a placeholder for the environment.
|
||||
Starting in 2016.11.0, ``{{env}}`` is no longer supported.
|
||||
|
||||
.. _git-pillar-2015-8-0-and-later:
|
||||
|
||||
Configuring git_pillar for Salt releases 2015.8.0 and later
|
||||
@ -232,7 +236,7 @@ The corresponding Pillar top file would look like this:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
{{env}}:
|
||||
{{saltenv}}:
|
||||
'*':
|
||||
- bar
|
||||
|
||||
@ -258,6 +262,10 @@ The corresponding Pillar top file would look like this:
|
||||
(instead of the minion's) before falling back to the master's
|
||||
:conf_master:`git_pillar_base`.
|
||||
|
||||
Additionally, in releases before 2016.11.0, both ``{{env}}`` and
|
||||
``{{saltenv}}`` could be used as a placeholder for the environment.
|
||||
Starting in 2016.11.0, ``{{env}}`` is no longer supported.
|
||||
|
||||
With the addition of pygit2_ support, git_pillar can now interact with
|
||||
authenticated remotes. Authentication works just like in gitfs (as outlined in
|
||||
the :ref:`Git Fileserver Backend Walkthrough <gitfs-authentication>`), only
|
||||
|
Loading…
Reference in New Issue
Block a user