]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - cmd/safcm/testdata/project/group/files/etc/motd
First working version
[safcm/safcm.git] / cmd / safcm / testdata / project / group / files / etc / motd
diff --git a/cmd/safcm/testdata/project/group/files/etc/motd b/cmd/safcm/testdata/project/group/files/etc/motd
new file mode 100644 (file)
index 0000000..be82b96
--- /dev/null
@@ -0,0 +1,11 @@
+Welcome to
+{{- if .IsHost "host1.example.org"}} Host ONE
+{{- else if "host2"}} Host TWO
+{{- end}}
+
+{{if .InGroup "detected_linux"}}
+This is GNU/Linux host
+{{end}}
+{{if .InGroup "detected_freebsd"}}
+This is FreeBSD host
+{{end}}