classes:
- roles::broken_rtc
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
classes:
- roles::broken_rtc
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
--- /dev/null
+classes:
+ - roles::buildd
p = scope.lookupvar('site::nodeinfo')['ldap']['purpose'].clone()
entries = ""
- if p.delete('buildd')
+ if classes.include?("roles::buildd")
entries += ", the Debian #{arch} build daemon"
+ p.delete('buildd')
end
if classes.include?("roles::porterbox")
entries += ", the Debian #{arch} porterbox"
raise Puppet::ParseError, "Host #{host} does not have ipHostNumber values in ldap"
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['ganeti'] = (nodeinfo['ldap']['purpose'].respond_to?('include?') && nodeinfo['ldap']['purpose'].include?('ganeti/kvm host'))
--- /dev/null
+# debian.org buildd
+class roles::buildd {
+ include buildd
+ include bacula::not_a_client
+}
include nagios::server
}
- # XXX: turn this into a real role
- if getfromhash($site::nodeinfo, 'buildd') {
- include buildd
- }
-
if has_role('bugs_mirror') {
include roles::bugs_mirror
}
## This file might be created or removed by the system sometimes.
##
file=/etc/resolv.conf
-<% if scope.lookupvar('site::nodeinfo')['buildd'] -%>
+<% if classes.include?('roles::buildd') -%>
file=/etc/dupload.conf
file=/etc/buildd/buildd.conf
file=/etc/sbuild/sbuild.conf