require => File["${apache_sites_folder}/postfixadmin/site"],
}
- 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'],
- }
+ file { "/etc/roundcube/main.inc.php":
+ ensure => $lsbdistcodename ? {
+ 'lenny' => absent,
+ default => present,
+ },
+ owner => root,
+ group => www-data,
+ mode => 0640,
+ source => "puppet:///modules/mail/roundcube/main.inc.php",
+ require => Package['roundcube'],
}
}