require => Package['bacula-fd'],
notify => Service['bacula-fd'],
}
- if $::lsbmajdistrelease != "testing" and $::lsbmajdistrelease < 7 {
+ if $::lsbmajdistrelease != "testing/unstable" and $::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 != "testing/unstable" and $::lsbmajdistrelease < 7 {
$mirror_backports = 'http://backports.debian.org/debian-backports/'
} else {
$mirror_backports = $mirror
ensure => installed,
}
- if $::lsbmajdistrelease == "testing" or $::lsbmajdistrelease >= 7 {
+ if $::lsbmajdistrelease == "testing/unstable" or $::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 != "testing/unstable" and $::lsbmajdistrelease < 7 {
site::aptrepo { 'debian-lts':
url => $mirror,
suite => "${::lsbdistcodename}-lts",
# include motd
#
class motd {
- if $::lsbmajdistrelease == "testing" or $::lsbmajdistrelease >= 7 {
+ if $::lsbmajdistrelease == "testing/unstable" or $::lsbmajdistrelease >= 7 {
$fname = '/etc/update-motd.d/puppet-motd'
$notify = undef
$mode = '0555'
# ensure => 'absent',
# }
#}
- if $::lsbmajdistrelease == "testing" or $::lsbmajdistrelease >= 7 {
+ warning("foo $::lsbmajdistrelease")
+ if $::lsbmajdistrelease == "testing/unstable" or $::lsbmajdistrelease >= 7 {
package { 'munin-async':
ensure => installed
}