X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmotd%2Ftemplates%2Fmotd.erb;h=ac394e1d471207150bc34bdb853b58d69035d484;hb=f02b03d7591719c38fab82817edca551f5895a72;hp=5c440cdf9934a8199fd48251ecc90fabb1234227;hpb=85837d73a233d92ed03744a7f5ed25343ad6cfd2;p=mirror%2Fdsa-puppet.git diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index 5c440cdf9..ac394e1d4 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -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