From: Peter Palfrader Date: Sat, 26 Nov 2016 11:29:57 +0000 (+0000) Subject: Use bacula_client_port variable in ferm rule instead of "bacula-fd" service port X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=3270c11c756e3be695bedbd967cf231c8deed1a4;p=mirror%2Fdsa-puppet.git Use bacula_client_port variable in ferm rule instead of "bacula-fd" service port --- 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':