group => buildd,
owner => buildd,
}
- file { '/var/lib/systemd/linger':
- ensure => directory,
- mode => '755',
- }
- file { "/var/lib/systemd/linger/buildd":
- ensure => present,
- }
+ dsa_systemd::linger { 'buildd': }
file { '/etc/systemd/journald.conf.d':
ensure => directory,
mode => '755',
owner => buildd,
}
# work around https://salsa.debian.org/wb-team/pybuildd/issues/11
- concat::fragment { 'dsa-puppet-stuff--pybuildd-expire-logs':
- target => '/etc/cron.d/dsa-puppet-stuff',
+ concat::fragment { 'puppet-crontab--pybuildd-expire-logs':
+ target => '/etc/cron.d/puppet-crontab',
content => @(EOF)
@daily buildd [ -d ~buildd/logs ] && find ~buildd/logs -type f -mtime +90 -delete
| EOF