Skip to content

Commit

Permalink
docs(tofs): incorrect path for “source_files” lookup key
Browse files Browse the repository at this point in the history
* docs/TOFS_pattern.rst: rename “nfs” to “ntp”.
  • Loading branch information
baby-gnu committed Mar 13, 2019
1 parent 18e5a3d commit a76f659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/TOFS_pattern.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ We can simplify the ``conf.sls`` with the new ``files_switch`` macro to use in t
- pkg: Install NTP package
* This uses ``config.get``, searching for ``nfs:tofs:source_files:Configure NTP`` to determine the list of template files to use.
* This uses ``config.get``, searching for ``ntp:tofs:source_files:Configure NTP`` to determine the list of template files to use.
* If this does not yield any results, the default of ``['/etc/ntp.conf.jinja']`` will be used.

In ``macros.jinja``, we define this new macro ``files_switch``.
Expand Down

0 comments on commit a76f659

Please sign in to comment.