class mail::virtual::packages {
+ # This package come and goes from Debian, therefore right now it may be manually maintained
+ # See https://git.fluxo.info/downloaders for a semi-automated installation/update procedure
package { 'postfixadmin':
- ensure => present,
+ ensure => absent,
}
package { [ 'libpam-mysql', 'libgsasl7' ]:
package { [ 'squirrelmail', 'squirrelmail-locales' ]:
ensure => absent,
- }
+ }
package { 'php-crypt-gpg':
ensure => $::lsbdistcodename ? {
if $::lsbdistcodename != 'lenny' {
package { [ 'roundcube', 'roundcube-sqlite3', 'roundcube-plugins', 'roundcube-mysql' ]:
ensure => latest,
- }
+ }
}
# Not in use right now
'squeeze' => installed,
default => absent,
}
- }
+ }
}
}
apache::site { "postfixadmin":
- docroot => '/usr/share/postfixadmin/public',
- #docroot => "${apache::sites_folder}/postfixadmin/site",
- #use => [ "Site postfixadmin" ],
+ # Configuration when postfixadmin is installed as a package
+ #docroot => '/usr/share/postfixadmin/public',
+
+ # Configuration when postfixadmin is manually maintained
+ docroot => "${apache::sites_folder}/postfixadmin/site/public",
+ use => [ "Site postfixadmin" ],
+
mpm => false,
}