parent
4300809ff3
commit
ef3a75e17f
1 changed files with 2 additions and 2 deletions
|
@ -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 config local.class</code> |
|
| `yadm.class` | `YADM_CLASS` | Locally defined yadm class | <code>yadm config local.class</code> |
|
||||||
| `yadm.distro` | `YADM_DISTRO` | Distribution | <code>lsb_release ‑si</code><br/>or <code>/etc/os-release</code> |
|
| `yadm.distro` | `YADM_DISTRO` | Distribution | <code>lsb_release ‑si</code><br/>or <code>/etc/os-release</code> |
|
||||||
| `yadm.hostname` | `YADM_HOSTNAME` | Hostname | `hostname` (without domain) |
|
| `yadm.hostname` | `YADM_HOSTNAME` | Hostname | <code>uname ‑n</code> (without domain) |
|
||||||
| `yadm.os` | `YADM_OS` | Operating system | <code>uname ‑s</code> <sup>*</sup> |
|
| `yadm.os` | `YADM_OS` | Operating system | <code>uname ‑s</code> <sup>*</sup> |
|
||||||
| `yadm.user` | `YADM_USER` | Current user | <code>id ‑u ‑n</code> |
|
| `yadm.user` | `YADM_USER` | Current user | <code>id ‑u ‑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
|
||||||
|
|
Loading…
Reference in a new issue