Merged in oherrala/puppet/oherrala-puppet (pull request #45)

puppet: Include tmpwatch for puppet server.
This commit is contained in:
Timo Mäkinen 2014-02-14 16:12:05 +02:00
commit d9851631bb
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,
}
}