First page Back Continue Last page Overview Graphics
What about FreeBSD?
case $operatingsystem {
freebsd: {
$rootgroup = "wheel"
$baculadir = "/usr/local/etc"
}
default: {
$rootgroup = "root"
$baculadir = "/etc/bacula"
}
}
file {"$baculadir/bacula-fd.conf":
mode => "644",
owner => "root",
group => $rootgroup,
ensure => present,
notify => Service[“bacula-fd”],
content => template("bacula/bacula-fd.conf"),
require => Package["bacula-client"],
}
Notes:
We don't only want this class to work on Debian, we want to backup FreeBSD boxes too!