rharrison10/rharrison-bacula — pull request #2 by erik-smit (2012-10-25 15:29:02+00:00)
Title: Bacula 5 on RHEL

Hey,

On RHEL I use a repo that's maintained by a fedoraguy to get a non-ancient Bacula on RHEL5.

But this deviates in regards to the plugin directory.

Would it make sense to

a) Leave out the plugin directory altogether.
b) Provide a 'manage_repo => true' option like puppet-percona (https://github.com/arioch/puppet-percona/blob/master/manifests/init.pp). I do:
require common
case $operatingsystem {
'debian','ubuntu','mint': {
}
'redhat','centos','scientific': {
yum::managed_yumrepo { epel-bacula:
descr => 'Bacula backports from rawhide',
baseurl => "http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-$common::osver/\$basearch",
enabled => 1,
gpgcheck => 1,
failovermethod => 'priority',
gpgkey => 'http://repos.fedorapeople.org/repos/slaanesh/bacula/RPM-GPG-KEY-slaanesh',
priority => 10,
before => Class['bacula'],
}
}
}
c) Do nothing
d) All of the above?