]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - cmd/safcm/testdata/project/group/files/etc/motd
config: permit "all" and host group in .InGroup of templates
[safcm/safcm.git] / cmd / safcm / testdata / project / group / files / etc / motd
index be82b961004ee5393ada2caff757679b6c9eacc2..79a9952921f979343d5cb293a93885d8e9fc8aaf 100644 (file)
@@ -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}}