From: Silvio Rhatto Date: Fri, 3 Jun 2011 21:43:31 +0000 (-0300) Subject: Minor fix for lenny X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=df5491491a086bd20519bf00381e30871c57eabb;p=puppet-mail.git Minor fix for lenny --- diff --git a/manifests/web.pp b/manifests/web.pp index 14bbb6a..db49ddc 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -25,13 +25,15 @@ class mail::web::virtual inherits websites::setup { require => File["${apache_sites_folder}/postfixadmin/site"], } - file { "/etc/roundcube/main.inc.php": - ensure => present, - owner => root, - group => www-data, - mode => 0640, - source => "puppet:///modules/mail/roundcube/main.inc.php", - require => Package['roundcube'], + if $lsbdistcodename != 'lenny' { + file { "/etc/roundcube/main.inc.php": + ensure => present, + owner => root, + group => www-data, + mode => 0640, + source => "puppet:///modules/mail/roundcube/main.inc.php", + require => Package['roundcube'], + } } }