Use a variable that still exists to define the listen hostname
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-fd.conf.erb
index eeb5788..6d1901a 100644 (file)
@@ -15,13 +15,13 @@ FileDaemon {
     ipv4 = {
       # use the hostname rather than the IP address from LDAP,
       # as /etc/hosts might have a better answer in case of natted hosts.
-      addr = <%= @fqdn %>
+      addr = <%= @client %>
       port = <%= @port_fd %>
     }
     <%- end -%>
     <%- if @has_ipv6 -%>
     ipv6 = {
-      addr = <%= addr %>
+      addr = <%= @client %>
       port = <%= @port_fd %>
     }
     <%- end -%>