From: Peter Palfrader Date: Tue, 10 Dec 2013 16:59:38 +0000 (+0100) Subject: Tell users to clean up behind them. X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=064f700b25873ec2c937995c8eaa90f3ea76b877;p=mirror%2Fdsa-puppet.git Tell users to clean up behind them. --- 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"