From b7c5294bd94e799a2359ffb938173fb3a5814358 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Mon, 21 Feb 2022 10:15:54 -0600 Subject: [PATCH] Add manpage docs for distro_family (#213) --- yadm.1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yadm.1 b/yadm.1 index 87d0d90..c2e1ef0 100644 --- a/yadm.1 +++ b/yadm.1 @@ -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