1 class bacula::storage inherits bacula {
4 "bacula-sd": ensure => installed;
15 "/etc/bacula/bacula-sd.conf":
16 content => template("bacula/bacula-sd.conf.erb"),
19 notify => Exec["bacula-sd restart"]
25 path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
29 @ferm::rule { 'dsa-bacula-sd-v4':
31 description => 'Allow bacula-sd access from director and clients',
33 rule => 'proto tcp mod state state (NEW) dport (bacula-sd) @subchain \'bacula-sd\' { saddr ($HOST_DEBIAN_V4) ACCEPT; }',
35 @ferm::rule { 'dsa-bacula-sd-v6':
37 description => 'Allow bacula-sd access from director and clients',
39 rule => 'proto tcp mod state state (NEW) dport (bacula-sd) @subchain \'bacula-sd\' { saddr ($HOST_DEBIAN_V6) ACCEPT; }',