X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmotd%2Ftemplates%2Fmotd.erb;h=e4fb77f759a3c561079c1fa319dcfc448f99cf4c;hb=f0a682647864402c133fe0825b1438d8a1aa3cf8;hp=b54981bed08f392cb882ee491e12184b6c2ffce9;hpb=42cd902aa51d3dcdfb406bd7938b2002bca4b42a;p=mirror%2Fdsa-puppet.git diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index b54981bed..e4fb77f75 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -1,6 +1,8 @@ This device is for authorized users only. All traffic on this device -is monitored and will be used as evidence for prosecutions. +is monitored and will be used as evidence for prosecutions. By using +this machine you agree to abide by the Debian Machines Usage Policies +. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -50,6 +52,10 @@ else purp += "\n" end +if (nodeinfo['ldap'].has_key?('physicalHost')) + purp += "\nThis virtual server runs on the physical host #{nodeinfo['ldap']['physicalHost'][0]}.\n" +end + if nodeinfo.has_key?('footer') purp += "\n" + wrap(nodeinfo['footer']) + "\n" end