diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-06-03 18:43:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-06-03 18:43:31 -0300 |
commit | df5491491a086bd20519bf00381e30871c57eabb (patch) | |
tree | 914c7061d14376f6c86dc798a3602bf9c08bde38 | |
parent | 445aa4d979029f330ea72c7d26923359338e4228 (diff) | |
download | puppet-mail-df5491491a086bd20519bf00381e30871c57eabb.tar.gz puppet-mail-df5491491a086bd20519bf00381e30871c57eabb.tar.bz2 |
Minor fix for lenny
-rw-r--r-- | manifests/web.pp | 16 |
1 files changed, 9 insertions, 7 deletions
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'], + } } } |