mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Changed package-map.jinja references to map.jinja
This commit is contained in:
parent
cbf0b79ab5
commit
82d1fe8409
1 changed files with 6 additions and 6 deletions
|
@ -174,7 +174,7 @@ A basic Formula repository should have the following layout::
|
|||
|
||||
foo-formula
|
||||
|-- foo/
|
||||
| |-- package-map.jinja
|
||||
| |-- map.jinja
|
||||
| |-- init.sls
|
||||
| `-- bar.sls
|
||||
|-- LICENSE
|
||||
|
@ -210,18 +210,18 @@ A sample skeleton for the ``README.rst`` file:
|
|||
``foo.bar``
|
||||
Install the ``bar`` package.
|
||||
|
||||
``package-map.jinja``
|
||||
---------------------
|
||||
``map.jinja``
|
||||
-------------
|
||||
|
||||
It is useful to have a single source for platform-specific or other
|
||||
parameterized information that can be reused throughout a Formula. See
|
||||
":ref:`conventions-formula-parameterization`" below for more information. Such
|
||||
a file should be named :file:`package-map.jinja` and live alongside the state
|
||||
a file should be named :file:`map.jinja` and live alongside the state
|
||||
files.
|
||||
|
||||
The following is an example from the MySQL Formula.
|
||||
|
||||
:file:`package-map.jinja`:
|
||||
:file:`map.jinja`:
|
||||
|
||||
.. code:: jinja
|
||||
|
||||
|
@ -251,7 +251,7 @@ state file using the following syntax:
|
|||
|
||||
.. code:: yaml
|
||||
|
||||
{% from "mysql/package-map.jinja" import mysql with context %}
|
||||
{% from "mysql/map.jinja" import mysql with context %}
|
||||
|
||||
mysql-server:
|
||||
pkg:
|
||||
|
|
Loading…
Add table
Reference in a new issue