Qualify tags with director name. Maybe we will support more than one in the future
[mirror/dsa-puppet.git] / modules / bacula / manifests / director.pp
index 241985b..578251c 100644 (file)
@@ -113,13 +113,13 @@ class bacula::director inherits bacula {
   Concat::Fragment <<| tag == $bacula::tag_bacula_dsa_client_list |>>
 
   @@ferm::rule::simple { "bacula::director-to-fd::${::fqdn}":
-    tag         => 'bacula::director-to-fd',
+    tag         => "bacula::director-to-fd::${::fqdn}",
     description => 'Allow bacula-fd from the bacula-director',
     port        => '7', # overridden on collecting
     saddr       => $bacula::public_addresses,
   }
   @@ferm::rule::simple { "bacula::director-to-storage::${::fqdn}":
-    tag         => 'bacula::director-to-storage',
+    tag         => "bacula::director-to-storage::${::fqdn}",
     description => 'Allow bacula-storage access from the bacula-director',
     port        => '7', # overridden on collecting
     saddr       => $bacula::public_addresses,