X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=cmd%2Fsafcm%2Ftestdata%2Fproject%2Fgroup%2Ffiles%2Fetc%2Fmotd;h=79a9952921f979343d5cb293a93885d8e9fc8aaf;hb=b731ef4979de9e533ce9bb35110ab2b769e2eed4;hp=be82b961004ee5393ada2caff757679b6c9eacc2;hpb=91283c7517bd49d9c7cb4114454cdd7644a442a0;p=safcm%2Fsafcm.git diff --git a/cmd/safcm/testdata/project/group/files/etc/motd b/cmd/safcm/testdata/project/group/files/etc/motd index be82b96..79a9952 100644 --- a/cmd/safcm/testdata/project/group/files/etc/motd +++ b/cmd/safcm/testdata/project/group/files/etc/motd @@ -9,3 +9,16 @@ This is GNU/Linux host {{if .InGroup "detected_freebsd"}} This is FreeBSD host {{end}} + +{{if .InGroup "all"}} +all +{{end}} +{{if .InGroup "host1.example.org"}} +host1.example.org +{{end}} +{{if .InGroup "host2"}} +host2 +{{end}} +{{if .InGroup "host3.example.net"}} +host3.example.net +{{end}}