require => Package['bacula-fd'],
notify => Service['bacula-fd'],
}
- if $::lsbmajdistrelease != "testing" and $::lsbmajdistrelease < 7 {
+ if $::lsbmajdistrelease < 7 {
file { '/etc/apt/preferences.d/dsa-bacula-client':
content => template('bacula/apt.preferences.bacula-client.erb'),
mode => '0444',
} else {
$mirror = 'http://http.debian.net/debian/'
}
- if $::lsbmajdistrelease != "testing" and $::lsbmajdistrelease < 7 {
+ if $::lsbmajdistrelease < 7 {
$mirror_backports = 'http://backports.debian.org/debian-backports/'
} else {
$mirror_backports = $mirror
ensure => installed,
}
- if $::lsbmajdistrelease == "testing" or $::lsbmajdistrelease >= 7 {
+ if $::lsbmajdistrelease >= 7 {
package { 'libfilesystem-ruby1.9.1':
ensure => installed,
}
suite => "${::lsbdistcodename}/updates",
components => ['main','contrib','non-free']
}
- if $::lsbmajdistrelease != "testing" and $::lsbmajdistrelease < 7 {
+ if $::lsbmajdistrelease < 7 {
site::aptrepo { 'debian-lts':
url => $mirror,
suite => "${::lsbdistcodename}-lts",