]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Allow some bacula director traffic too
authorTollef Fog Heen <tfheen@err.no>
Sat, 16 Jun 2012 14:37:56 +0000 (16:37 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 16 Jun 2012 14:38:24 +0000 (16:38 +0200)
modules/bacula/manifests/client.pp
modules/bacula/manifests/director.pp

index 4703294f0d7d9e4a73a6d91611a585f0163e7776..879978cfeb3461ac224d32a212e30619bffec430 100644 (file)
@@ -31,7 +31,7 @@ class bacula::client inherits bacula {
   }
 
   @ferm::rule { 'dsa-bacula-fd':
-    domain      => '(ip ip6)',
+    domain      => '(ip)',
     description => 'Allow bacula access from storage and director',
     rule        => "proto tcp mod state state (NEW) dport (bacula-fd) saddr ($bacula_director_address) ACCEPT",
   }
index 40720b7496c7ff8f05fd2e99354fed44ab4d5f6b..45b65e528287cc1f61cf2d031f587bdf5c367282 100644 (file)
@@ -53,4 +53,11 @@ class bacula::director inherits bacula {
   $allhosts = keys($site::allnodeinfo)
 
   bacula_client { $allhosts: }
+
+  @ferm::rule { 'dsa-bacula-dir':
+    domain      => '(ip ip6)',
+    description => 'Allow bacula access from localhost,
+    rule        => "proto tcp mod state state (NEW) dport (bacula-dir) saddr ($bacula_director_address localhost) ACCEPT",
+  }
+
 }