]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Bacula understands v6 too, so add rule for that
authorTollef Fog Heen <tfheen@err.no>
Sun, 24 Jun 2012 11:13:57 +0000 (13:13 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 24 Jun 2012 11:19:33 +0000 (13:19 +0200)
modules/bacula/manifests/client.pp

index 879978cfeb3461ac224d32a212e30619bffec430..baf004060abe61048fa412c862938c321b43c9da 100644 (file)
@@ -30,9 +30,15 @@ class bacula::client inherits bacula {
       refreshonly => true;
   }
 
-  @ferm::rule { 'dsa-bacula-fd':
+  @ferm::rule { 'dsa-bacula-fd-v4':
     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",
   }
+
+  @ferm::rule { 'dsa-bacula-fd-v6':
+    domain      => '(ip6)',
+    description => 'Allow bacula access from storage and director',
+    rule        => "proto tcp mod state state (NEW) dport (bacula-fd) saddr ($bacula_director_address) ACCEPT",
+  }
 }