Switch bacula director->client firewalling to store/collect
[mirror/dsa-puppet.git] / modules / bacula / manifests / director.pp
index df425f8..3b62c59 100644 (file)
@@ -111,4 +111,11 @@ class bacula::director inherits bacula {
     order   => '00',
   }
   Concat::Fragment <<| tag == $bacula::tag_bacula_dsa_client_list |>>
+
+  @@ferm::rule::simple { "bacula::director-to-fd::${::fqdn}":
+    tag         => 'bacula::director-to-fd',
+    description => 'Allow bacula-fd from the bacula-director',
+    port        => '7', # overridden on collecting
+    saddr       => $bacula::public_addresses,
+  }
 }