if has_role('piuparts') {
include roles::piuparts
}
+ if has_role('piuparts_slave') {
+ include roles::piuparts_slave
+ }
if has_role('contributors') {
include roles::contributors
--- /dev/null
+class roles::piuparts-slave {
+ package { 'debian.org-piuparts-slave.debian.org': ensure => installed, }
+
+ file { [ '/srv/piuparts.debian.org', '/srv/piuparts.debian.org/home-slave']:
+ ensure => directory,
+ mode => '0755',
+ owner => 'piupartss',
+ group => 'piuparts',
+ }
+ file { '/home/piupartss':
+ ensure => link,
+ target => '/srv/piuparts.debian.org/home-slave',
+ }
+
+ file { '/etc/piuparts':
+ ensure => link,
+ target => '/srv/piuparts.debian.org/etc/piuparts',
+ }
+}