3089973311
The osfamily fact is more flexible when we want to support more GNU/Linux distributions while avoiding unnecessary code duplication. Change-Id: Iea4c73c19e7f94df8daccf25c764b6a4539a1ea0 Reviewed-on: https://review.openstack.org/27400 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
14 lines
242 B
Puppet
14 lines
242 B
Puppet
# == Class: openstack_project::tmpcleanup
|
|
#
|
|
class openstack_project::tmpcleanup (
|
|
) {
|
|
|
|
if $::osfamily == 'Debian' {
|
|
include tmpreaper
|
|
}
|
|
|
|
# FIXME need to implement an something on RHEL to fine tune the
|
|
# temp directory cleanup.
|
|
|
|
}
|