Add manpage docs for distro_family (#213)

This commit is contained in:
Tim Byrne 2022-02-21 10:15:54 -06:00
parent 0b75e71237
commit b7c5294bd9
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 6 additions and 0 deletions

6
yadm.1
View File

@ -503,6 +503,11 @@ Distro is calculated by running
or by inspecting the ID from
.BR "/etc/os-release" .
.TP
.BR distro_family , " f
Valid if the value matches the distro family.
Distro family is calculated by inspecting the ID_LIKE line from
.BR "/etc/os-release" .
.TP
.BR os , " o
Valid if the value matches the OS.
OS is calculated by running
@ -658,6 +663,7 @@ During processing, the following variables are available in the template:
------------- ------------- --------------------------
yadm.class YADM_CLASS Locally defined yadm class
yadm.distro YADM_DISTRO lsb_release -si
yadm.distro_family YADM_DISTRO_FAMILY ID_LIKE from /etc/os-release
yadm.hostname YADM_HOSTNAME uname -n (without domain)
yadm.arch YADM_ARCH uname -m
yadm.os YADM_OS uname -s