4079d25387
fix bug 961697 remove jenkins tmpreaper cron create tmpreaper module which can be included by any class for now, only jenkins_slave class actually includes it Change-Id: I3388cbfb9b97c00cde8f4c2a2ebe60a4d76736d7
24 lines
546 B
Puppet
24 lines
546 B
Puppet
class tmpreaper() {
|
|
package { 'tmpreaper':
|
|
ensure => present,
|
|
}
|
|
|
|
file { 'tmpreaper-cron.daily':
|
|
name => '/etc/cron.daily/tmpreaper',
|
|
ensure => 'present',
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => 755,
|
|
source => 'puppet:///modules/tmpreaper/tmpreaper-cron.daily',
|
|
}
|
|
|
|
file { 'tmpreaper.conf':
|
|
name => '/etc/tmpreaper.conf',
|
|
ensure => 'present',
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => 644,
|
|
source => 'puppet:///modules/tmpreaper/tmpreaper.conf',
|
|
}
|
|
}
|