class apache2 {
package {
apache2: ensure => installed;
+ logrotate: ensure => installed;
}
file {
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,
- ensure => directory;
+ # sometimes this is a symlink
+ #"/var/log/apache2":
+ # mode => 755,
+ # ensure => directory;
}
exec { "apache2 reload":