diff options
-rw-r--r-- | manifests/virtual/web/admin.pp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/virtual/web/admin.pp b/manifests/virtual/web/admin.pp index 2ec4243..d6b8422 100644 --- a/manifests/virtual/web/admin.pp +++ b/manifests/virtual/web/admin.pp @@ -9,17 +9,20 @@ class mail::virtual::web::admin( } apache::site { "postfixadmin": - docroot => "${apache::sites_folder}/postfixadmin/site", - use => [ "Site postfixadmin" ], + docroot => '/usr/share/postfixadmin', + #docroot => "${apache::sites_folder}/postfixadmin/site", + #use => [ "Site postfixadmin" ], mpm => false, } - file { "${apache::sites_folder}/postfixadmin/site/config.inc.php": + #file { "${apache::sites_folder}/postfixadmin/site/config.inc.php": + file { "/etc/postfixadmin/config.inc.php": ensure => present, owner => www-data, group => root, mode => 0640, content => template('mail/virtual/postfixadmin/config.inc.php.erb'), - require => File["${apache::sites_folder}/postfixadmin/site"], + #require => File["${apache::sites_folder}/postfixadmin/site"], + require => Package['postfixadmin'], } } |