From 064f700b25873ec2c937995c8eaa90f3ea76b877 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 10 Dec 2013 17:59:38 +0100 Subject: [PATCH 1/1] Tell users to clean up behind them. --- modules/motd/templates/motd.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index ac394e1d4..3160aecbe 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -142,6 +142,16 @@ if ninfo['not-bacula-client'] then " data, run your own backups.\n" end +if classes.include?("porterbox") + purp += "\nPlease clean up any schroots after you are done using them. Please also\n" + + "remove any build and source trees in your home directory once you no longer\n" + + "need them. Disk space on porter machines often is scarce. If it becomes\n" + + "necessary we will delete your entire home directory without warning, but this\n" + + "really implies that you have been misusing resources. We would prefer this\n" + + "not become necessary.\n" + + " *** Clean up behind you! ***\n" +end + if scope.lookupvar('site::nodeinfo').has_key?('footer') purp += "\n" + wrap(scope.lookupvar('site::nodeinfo')['footer']) + "\n" -- 2.20.1