classes:
- roles::broken_rtc
+ - roles::porterbox
--- /dev/null
+classes:
+ - roles::porterbox
--- /dev/null
+classes:
+ - roles::porterbox
classes:
- roles::broken_rtc
+ - roles::porterbox
classes:
- roles::broken_rtc
+ - roles::porterbox
--- /dev/null
+classes:
+ - roles::porterbox
--- /dev/null
+classes:
+ - roles::porterbox
--- /dev/null
+classes:
+ - roles::porterbox
if p.delete('buildd')
entries += ", the Debian #{arch} build daemon"
end
- if p.delete('porterbox') or classes.include?("porterbox")
+ if classes.include?("roles::porterbox")
entries += ", the Debian #{arch} porterbox"
end
end
-if classes.include?("porterbox")
+if classes.include?("roles::porterbox")
purp += "\n " + wrap("Disk space on porter boxes is often limited. Please respect your fellow porters by cleaning up after yourself and deleting schroots and source/build trees in your ~ as soon as feasible. DSA reserves the right to recover disk space as necessary. See <URL:https://dsa.debian.org/doc/schroot/> for a brief tutorial on using schroot. There may be chroots for architectures other than #{arch} available, please list available chroots to check.")
end
nodeinfo['hoster'] = function_whohosts([nodeinfo['ldap']['ipHostNumber']])
nodeinfo['buildd'] = (nodeinfo['ldap']['purpose'].respond_to?('include?') && nodeinfo['ldap']['purpose'].include?('buildd'))
nodeinfo['timeserver'] = (nodeinfo['ldap']['purpose'].respond_to?('include?') && nodeinfo['ldap']['purpose'].include?('timeserver'))
- nodeinfo['porterbox'] = (nodeinfo['ldap']['purpose'].respond_to?('include?') && nodeinfo['ldap']['purpose'].include?('porterbox'))
nodeinfo['ganeti'] = (nodeinfo['ldap']['purpose'].respond_to?('include?') && nodeinfo['ldap']['purpose'].include?('ganeti/kvm host'))
if lookupvar('::mta') == 'exim4'
include buildd
}
- # XXX: turn this into a real role
- if getfromhash($site::nodeinfo, 'porterbox') {
- include porterbox
- }
-
if has_role('bugs_mirror') {
include roles::bugs_mirror
}
--- /dev/null
+# debian.org porterbox
+class roles::porterbox {
+ include porterbox
+}
dir=1/usr/share/puppet-dashboard/tmp/pids
<% end -%>
-<% if classes.include?("porterbox") %>
-file=/etc/cron.weekly/puppet-mail-big-homedirs
-<% end -%>
file=/etc/ssl/private/*.key-certchain
dir=10/var/lib/puppet/clientbucket