From: Tollef Fog Heen Date: Sun, 24 Jun 2012 11:13:57 +0000 (+0200) Subject: Bacula understands v6 too, so add rule for that X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=15e542bcedb7783bbcfd348618fc85f125b6a0e1;p=mirror%2Fdsa-puppet.git Bacula understands v6 too, so add rule for that --- diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 879978cfe..baf004060 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -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", + } }