ensure => absent,
}
file { '/etc/cron.d/dsa-buildd':
+ ensure => absent,
+ }
+ concat::fragment { 'dsa-puppet-stuff--buildd':
+ target => '/etc/cron.d/dsa-puppet-stuff',
source => 'puppet:///modules/buildd/cron.d-dsa-buildd',
require => Package['debian.org']
}
}
}
file { '/etc/cron.d/puppet-buildd-aptitude':
- content => "*/5 * * * * root /usr/local/sbin/buildd-schroot-aptitude-kill\n",
+ ensure => absent
+ }
+ concat::fragment { 'dsa-puppet-stuff--buildd-aptitude-killer':
+ target => '/etc/cron.d/dsa-puppet-stuff',
+ content => @(EOF)
+ "*/5 * * * * root /usr/local/sbin/buildd-schroot-aptitude-kill",
+ | EOF
}
service { 'buildd':
ensure => 'stopped',
}
+ file { '/etc/cron.d/puppet-update-buildd-schroots':
+ ensure => absent
+ }
if $has_srv_buildd {
- file { '/etc/cron.d/puppet-update-buildd-schroots':
- content => "13 22 * * 0,3 root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin setup-all-dchroots buildd\n",
+ concat::fragment { 'dsa-puppet-stuff--buildd-update-schroots':
+ target => '/etc/cron.d/dsa-puppet-stuff',
+ content => @(EOF)
+ 13 22 * * 0,3 root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin setup-all-dchroots buildd
+ | EOF
}
}