system-config/modules/openstack_project/manifests/tmpcleanup.pp
Dan Prince 36aefd0c48 Split out tmp clean and auto upgrades.
Create abstractions for tmpcleanup and automatic_upgrades
which can be used to install/include distro specific
modules modules for these features.

On Ubuntu this will still install unattended_upgrades and tmpreaper.

On RHEL we need to implement similar functionality and modules.

Change-Id: I9209610582e23c86dccb5e70691bb598dad36950
Reviewed-on: https://review.openstack.org/23197
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-04 17:58:03 +00:00

14 lines
249 B
Puppet

# == Class: openstack_project::tmpcleanup
#
class openstack_project::tmpcleanup (
) {
if $::operatingsystem == 'Ubuntu' {
include tmpreaper
}
# FIXME need to implement an something on RHEL to fine tune the
# temp directory cleanup.
}