Switch bacula director->storage firewalling to store/collect
[mirror/dsa-puppet.git] / modules / bacula / manifests / storage.pp
index 97dc424..3b1c5fb 100644 (file)
@@ -50,6 +50,10 @@ class bacula::storage inherits bacula {
     rule        => 'proto tcp mod state state (NEW) dport (bacula-sd) @subchain \'bacula-sd\' { saddr ($HOST_DEBIAN) ACCEPT; }',
     notarule    => true,
   }
+  # allow access from director
+  Ferm::Rule::Simple <<| tag == 'bacula::director-to-storage' |>> {
+    port => $bacula::bacula_storage_port,
+  }
 
   file { '/etc/bacula/storage-conf.d/empty.conf':
     content => '',