From e019c6448cf5bc81dbe4c8c703d1791da225b7eb Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Mon, 21 Feb 2022 12:17:50 -0600 Subject: [PATCH] Update table format --- _docs/070_templates.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/_docs/070_templates.md b/_docs/070_templates.md index f0bb14b..ea3fc12 100644 --- a/_docs/070_templates.md +++ b/_docs/070_templates.md @@ -37,16 +37,16 @@ Also, `j2` will be processed by either j2cli or envtpl, whichever is found. When template processors run, they will be provided the following set of data. -| Default (built-in) | Jinja or ESH | Description | Source | -| - | - | - | - | -| `yadm.class` | `YADM_CLASS` | Last defined class | yadm config local.class | -| `yadm.classes` | `YADM_CLASSES` | All classes | yadm config ‑‑get‑all local.class | -| `yadm.distro` | `YADM_DISTRO` | Distribution | lsb_release ‑si
or /etc/os-release | -| `yadm.distro_family` | `YADM_DISTRO_FAMILY` | Distribution Family | `ID_LIKE` from/etc/os‑release | -| `yadm.hostname` | `YADM_HOSTNAME` | Hostname | uname ‑n (without domain) | -| `yadm.os` | `YADM_OS` | Operating system | uname ‑s * | -| `yadm.user` | `YADM_USER` | Current user | id ‑u ‑n | -| `yadm.source` | `YADM_SOURCE` | Template filename | (fully qualified path) | +| Default (built-in) | Jinja or ESH | Description | Source | +| - | - | - | - | +| `yadm.class` | `YADM_CLASS` | Last defined class | yadm config local.class | +| `yadm.classes` | `YADM_CLASSES` | All classes | yadm config ‑‑get‑all local.class | +| `yadm.distro` | `YADM_DISTRO` | Distribution | lsb_release ‑si
or /etc/os-release | +| `yadm.distro_family` | `YADM_DISTRO_FAMILY` | Distribution Family | `ID_LIKE` from/etc/os‑release | +| `yadm.hostname` | `YADM_HOSTNAME` | Hostname | uname ‑n (without domain) | +| `yadm.os` | `YADM_OS` | Operating system | uname ‑s * | +| `yadm.user` | `YADM_USER` | Current user | id ‑u ‑n | +| `yadm.source` | `YADM_SOURCE` | Template filename | (fully qualified path) | * The OS for "Windows Subsystem for Linux" is reported as "WSL", even though uname identifies as "Linux".