From: Peter Palfrader Date: Wed, 25 Sep 2019 09:13:14 +0000 (+0200) Subject: Use a variable that still exists to define the listen hostname X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=0399c6165ed6ff265f460e8e8dde99a322615b77 Use a variable that still exists to define the listen hostname --- 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 -%>