Use bacula_client_port variable in ferm rule instead of "bacula-fd" service port
authorPeter Palfrader <peter@palfrader.org>
Sat, 26 Nov 2016 11:29:57 +0000 (11:29 +0000)
committerPeter Palfrader <peter@palfrader.org>
Sat, 26 Nov 2016 11:29:57 +0000 (11:29 +0000)
modules/bacula/manifests/client.pp

index 98af74a..34e2b64 100644 (file)
@@ -52,7 +52,7 @@ class bacula::client inherits bacula {
        @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_ip}) ACCEPT",
+               rule        => "proto tcp mod state state (NEW) dport (${bacula_client_port}) saddr (${bacula_director_ip}) ACCEPT",
        }
 
        #@ferm::rule { 'dsa-bacula-fd-v6':