From 0399c6165ed6ff265f460e8e8dde99a322615b77 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 25 Sep 2019 11:13:14 +0200 Subject: [PATCH] Use a variable that still exists to define the listen hostname --- modules/bacula/templates/bacula-fd.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bacula/templates/bacula-fd.conf.erb b/modules/bacula/templates/bacula-fd.conf.erb index eeb578881..6d1901a4c 100644 --- a/modules/bacula/templates/bacula-fd.conf.erb +++ b/modules/bacula/templates/bacula-fd.conf.erb @@ -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 -%> -- 2.20.1