class mail::web inherits websites::setup { include php::imap apache::site { "postfixadmin": docroot => "${apache_sites_folder}/postfixadmin/site", use => [ "Site postfixadmin" ], } apache::site { "mail": docroot => "/usr/share/squirrelmail", source => true, } file { "${apache_sites_folder}/postfixadmin/site/config.inc.php": ensure => present, owner => www-data, group => root, mode => 0640, content => template('mail/postfixadmin/config.inc.php.erb'), require => File["${apache_sites_folder}/postfixadmin/site"], } }