reword it all, by teh luca
[mirror/dsa-puppet.git] / modules / motd / templates / motd.erb
index 7f774d1..31936b3 100644 (file)
@@ -50,13 +50,8 @@ if (scope.lookupvar('site::nodeinfo')['ldap'].has_key?('purpose'))
     purp += " porterbox"
     extra += "\n"
     if classes.include?("porterbox")
-      extra += "See 'schroot -l' for a list of available chroots.  Start new sessions\n"
-      extra += "with 'schroot --begin-session -c <chroot>', run commands in sessions using\n"
-      extra += "'schroot --run-session -c <session> [-- command]', and tear down sessions\n"
-      extra += "using 'schroot --end-session -c <session>'.  You can run a limited set of\n"
-      extra += "privileged commands, for instance some of apt-get, using\n"
-      extra += "'dd-schroot-cmd -c <session> <command>'.\n"
-      extra += "Use 'schroot-list-sessions' to list your open sessions.\n"
+      extra += "For an introduction to the porterbox 'schroot' tool, see:\n"
+      extra += "  <URL:http://dsa.debian.org/doc/schroot/>.\n"
     else
       extra += "See 'dchroot -l' or 'schroot -l' for a list of available chroots.\n"
       if scope.lookupvar('site::nodeinfo')['ldap'].has_key?('admin')
@@ -142,6 +137,18 @@ if scope.lookupvar('::cluster').to_s != 'undefined'
 end
 
 
+if classes.include?("porterbox")
+  purp += "\n Disk space on porter boxes is often limited.  Please respect your fellow\n"
+           " porters by cleaning up after yourself by deleting schroots and source/build\n" +
+           " trees in your $HOME, as soon as feasible.  DSA reserves the right to recover\n" +
+           " disk space as necessary.\n"
+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