Try to add a footer to the motd of some hosts
authorPeter Palfrader <peter@palfrader.org>
Tue, 3 Dec 2013 19:15:42 +0000 (20:15 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 3 Dec 2013 19:15:47 +0000 (20:15 +0100)
modules/motd/templates/motd.erb

index 5c440cd..ac394e1 100644 (file)
@@ -137,6 +137,12 @@ if scope.lookupvar('::cluster').to_s != 'undefined'
 end
 
 
+if ninfo['not-bacula-client'] then
+  purp += "\n Note that this host is _NOT_ being backed up.  If you care about your\n" +
+            " data, run your own backups.\n"
+end
+
+
 if scope.lookupvar('site::nodeinfo').has_key?('footer')
   purp += "\n" + wrap(scope.lookupvar('site::nodeinfo')['footer']) + "\n"
 end