String interpolation
authorTollef Fog Heen <tfheen@err.no>
Sun, 24 Jun 2012 11:46:58 +0000 (13:46 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 24 Jun 2012 11:46:58 +0000 (13:46 +0200)
modules/bacula/manifests/client.pp
modules/bacula/manifests/director.pp

index baf0040..f9f1132 100644 (file)
@@ -33,12 +33,12 @@ 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_address) ACCEPT",
+    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",
+    rule        => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_address}) ACCEPT",
   }
 }
index c60e8b2..58c143d 100644 (file)
@@ -58,7 +58,7 @@ class bacula::director inherits bacula {
   @ferm::rule { 'dsa-bacula-dir':
     domain      => '(ip ip6)',
     description => 'Allow bacula access from localhost',
-    rule        => "proto tcp mod state state (NEW) dport (bacula-dir) saddr ($bacula_director_address localhost) ACCEPT",
+    rule        => "proto tcp mod state state (NEW) dport (bacula-dir) saddr (${bacula_director_address} localhost) ACCEPT",
   }
 
 }