+
+ # allow access from director
+ Ferm::Rule::Simple <<| tag == "bacula::director-to-fd::${director_server}" |>> {
+ port => $port_fd,
+ }
+
+ # get access to the storage
+ @@ferm::rule::simple { "bacula::fd-to-storage::${::fqdn}":
+ tag => "bacula::fd-to-storage::${storage_server}",
+ description => 'Allow bacula-fd access to the bacula-storage',
+ chain => 'bacula-sd',
+ saddr => $bacula::public_addresses,
+ }