path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
refreshonly => true;
}
+
+ @ferm::rule { 'dsa-bacula-sd-v4':
+ domain => '(ip)',
+ description => 'Allow bacula-sd access from director and clients',
+
+ rule => 'proto tcp mod state state (NEW) dport (bacula-sd) @subchain \'bacula-sd\' { saddr ($HOST_DEBIAN_V4) ACCEPT; }',
+ }
+ @ferm::rule { 'dsa-bacula-sd-v6':
+ domain => '(ip6)',
+ description => 'Allow bacula-sd access from director and clients',
+
+ rule => 'proto tcp mod state state (NEW) dport (bacula-sd) @subchain \'bacula-sd\' { saddr ($HOST_DEBIAN_V6) ACCEPT; }',
+
}