2 This device is for authorized users only. All traffic on this device
3 is monitored and will be used as evidence for prosecutions. By using
4 this machine you agree to abide by the Debian Machines Usage Policies
5 <URL:http://www.debian.org/devel/dmup>.
7 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11 s.gsub(/(.{1,#{width}})(\s+|\Z)/, "\\1\n")
15 if nodeinfo.has_key?('nameinfo')
16 purp += wrap(nodeinfo['nameinfo']) + "\n\n"
19 purp += 'Welcome to ' + fqdn
20 if (nodeinfo['ldap'].has_key?('purpose'))
21 if nodeinfo['ldap']['purpose'].include?('buildd')
22 purp += ", the Debian "
23 if nodeinfo['ldap'].has_key?('architecture')
24 purp += nodeinfo['ldap']['architecture'][0]
26 purp += " build daemon\n"
27 elsif nodeinfo['ldap']['purpose'].include?('porterbox')
28 purp += ", the Debian "
29 if nodeinfo['ldap'].has_key?('architecture')
30 purp += nodeinfo['ldap']['architecture'][0]
32 purp += " porterbox\n"
34 purp += "See 'dchroot -l' for a list of available chroots.\n"
35 if nodeinfo['ldap'].has_key?('admin')
36 purp += "Please contact #{nodeinfo['ldap']['admin'][0]} for install requests,\n"
37 purp += "following the recommendations in <URL:http://dsa.debian.org/doc/install-req/>.\n"
40 purp += ", used for the following services:\n"
41 nodeinfo['ldap']['purpose'].sort.each do |l|
42 if l =~ /\[\[(\*|-)?(.*?)\]\]/
45 if l =~ /\[\[(.*?)\|(.*?)\]\]/
48 purp += "\t" + l + "\n"
55 if (nodeinfo['ldap'].has_key?('physicalHost'))
56 purp += "\nThis virtual server runs on the physical host #{nodeinfo['ldap']['physicalHost'][0]}.\n"
59 if nodeinfo.has_key?('footer')
60 purp += "\n" + wrap(nodeinfo['footer']) + "\n"
65 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
70 # vim:set shiftwidth=2: