1
0
Fork 0
mirror of synced 2024-06-15 12:21:09 -04:00

Merge pull request #268 from rasa/patch-2

This commit is contained in:
Tim Byrne 2020-12-26 13:26:42 -06:00
commit 94abe5b44a
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

View file

@ -41,7 +41,7 @@ When template processors run, they will be provided the following set of data.
| - | - | - | - | | - | - | - | - |
| `yadm.class` | `YADM_CLASS` | Locally defined yadm class | <code>yadm&nbsp;config&nbsp;local.class</code> | | `yadm.class` | `YADM_CLASS` | Locally defined yadm class | <code>yadm&nbsp;config&nbsp;local.class</code> |
| `yadm.distro` | `YADM_DISTRO` | Distribution | <code>lsb_release&nbsp;&#8209;si</code><br/>or <code>/etc/os-release</code> | | `yadm.distro` | `YADM_DISTRO` | Distribution | <code>lsb_release&nbsp;&#8209;si</code><br/>or <code>/etc/os-release</code> |
| `yadm.hostname` | `YADM_HOSTNAME` | Hostname | `hostname` (without domain) | | `yadm.hostname` | `YADM_HOSTNAME` | Hostname | <code>uname&nbsp;&#8209;n</code> (without domain) |
| `yadm.os` | `YADM_OS` | Operating system | <code>uname&nbsp;&#8209;s</code> <sup>*</sup> | | `yadm.os` | `YADM_OS` | Operating system | <code>uname&nbsp;&#8209;s</code> <sup>*</sup> |
| `yadm.user` | `YADM_USER` | Current user | <code>id&nbsp;&#8209;u&nbsp;&#8209;n</code> | | `yadm.user` | `YADM_USER` | Current user | <code>id&nbsp;&#8209;u&nbsp;&#8209;n</code> |
| `yadm.source` | `YADM_SOURCE` | Template filename | (fully qualified path) | | `yadm.source` | `YADM_SOURCE` | Template filename | (fully qualified path) |
@ -64,7 +64,7 @@ detailed in the section below.
esh esh
: [esh][esh] is a template processor written in POSIX compliant shell. It allows : [esh][esh] is a template processor written in POSIX compliant shell. It allows
executing shell commands within templates. This can be used to reference executing shell commands within templates. This can be used to reference
your own configurations within templates, for example: your own configurations within templates.
j2cli j2cli
: [j2cli][j2cli] (or `j2`) is a Python-based Jinja2 template processor. This : [j2cli][j2cli] (or `j2`) is a Python-based Jinja2 template processor. This