puppet: Include tmpwatch for puppet server.

This commit is contained in:
Ossi Herrala 2014-02-14 08:03:29 +00:00
parent 75092b2215
commit b810e9df15
2 changed files with 13 additions and 1 deletions

View file

@ -240,6 +240,8 @@ class puppet::server {
#
class puppet::server::common inherits puppet::client {
include tmpwatch
if $::operatingsystem in ["CentOS","RedHat"] and $::operatingsystemrelease =~ /^[1-5]\..*/ {
$seltype = "var_lib_t"
} else {
@ -472,7 +474,7 @@ class puppet::server::common inherits puppet::client {
mode => "0755",
owner => "root",
group => "root",
require => File["/srv/puppet/reports"],
require => [ File["/srv/puppet/reports"], Package["tmpwatch"] ],
}
}

View file

@ -0,0 +1,10 @@
# Install tmpwatch
#
class tmpwatch {
package { "tmpwatch":
ensure => installed,
}
}