Ferm::Rule::Simple <<| tag == "bacula::director-to-fd::${bacula::bacula_director_address}" |>> {
port => $bacula::bacula_client_port,
}
+
+ # get access to the storage
+ @@ferm::rule::simple { "bacula::fd-to-storage::${::fqdn}":
+ tag => "bacula::director-to-storage::${bacula::bacula_storage_address}",
+ description => 'Allow bacula-fd access to the bacula-storage',
+ chain => 'bacula-sd',
+ saddr => $bacula::public_addresses,
+ }
} elsif $ensure == 'absent' {
file { '/etc/bacula':
ensure => absent,