bacula-fd: se ipv6 address from ldap since DNS during boot is icky
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-fd.conf.erb
index 38f13ac..0be7a28 100644 (file)
@@ -34,9 +34,9 @@ FileDaemon {
       port = <%= @bacula_client_port %>
     }
     <%- end -%>
-    <%- if scope.lookupvar('site::nodeinfo')['misc']['has_v6_ldap'] -%>
+    <%- scope.lookupvar('site::nodeinfo')['misc']['v6_ldap'].each do |addr| -%>
     ipv6 = {
-      addr = <%= @fqdn %>
+      addr = <%= addr %>
       port = <%= @bacula_client_port %>
     }
     <%- end -%>