From 3270c11c756e3be695bedbd967cf231c8deed1a4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 26 Nov 2016 11:29:57 +0000 Subject: [PATCH] Use bacula_client_port variable in ferm rule instead of "bacula-fd" service port --- modules/bacula/manifests/client.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 98af74a4a..34e2b64df 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -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': -- 2.20.1