class apache2 {
package {
apache2: ensure => installed;
+ logrotate: ensure => installed;
}
file {
require => Package["apache2"],
notify => Exec["apache2 reload"];
- "/etc/logroate.d/apache2":
- source => [ "puppet:///apache2/per-host/$fqdn/etc/logroate.d/apache2",
- "puppet:///apache2/common/etc/logroate.d/apache2" ];
+ "/etc/logrotate.d/apache2":
+ source => [ "puppet:///apache2/per-host/$fqdn/etc/logrotate.d/apache2",
+ "puppet:///apache2/common/etc/logrotate.d/apache2" ];
"/srv/www":
mode => 755,
mode => 755,
ensure => directory;
"/srv/www/default.debian.org/htdocs/index.html":
- content => template("default-index.html");
+ content => template("apache2/default-index.html");
"/var/log/apache2":
mode => 755,