mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make example top file match templated version
Currently the example top file under "Matching Grains in the Top File" has node_type grains whose values do not match the names of the states which they specify. (e.g. the `webserver` node_type specifies the `web` state). Later these values are templated using jinja templates as if they are identical. This commit adjusts the values in the example to be identical, so that the template example follows naturally.
This commit is contained in:
parent
cda00f4f93
commit
baa4df25c9
1 changed files with 2 additions and 2 deletions
|
@ -116,13 +116,13 @@ the following configuration:
|
|||
|
||||
.. code-block:: yaml
|
||||
|
||||
'node_type:web':
|
||||
'node_type:webserver':
|
||||
- match: grain
|
||||
- webserver
|
||||
|
||||
'node_type:postgres':
|
||||
- match: grain
|
||||
- database
|
||||
- postgres
|
||||
|
||||
'node_type:redis':
|
||||
- match: grain
|
||||
|
|
Loading…
Add table
Reference in a new issue