Make bacula_director_port something local to the director class
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-dir.conf.erb
index 80aef43..dbcc8fe 100644 (file)
@@ -20,8 +20,8 @@ Director {
   Messages = Daemon
   DirAddresses = {
      # Always have localhost in, then the configured IP
-     ip = { addr = 127.0.0.1; port = 9101 }
-     ip = { addr = <%=@bacula_director_address%>; port = <%=@bacula_director_port%> }
+     ip = { addr = 127.0.0.1; port = <%= @port_dir %> }
+     ip = { addr = <%=@bacula_director_address%>; port = <%= @port_dir %> }
   }
 
   TLS Enable = yes