projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bacula-fd: se ipv6 address from ldap since DNS during boot is icky
[mirror/dsa-puppet.git]
/
modules
/
bacula
/
templates
/
bacula-fd.conf.erb
diff --git
a/modules/bacula/templates/bacula-fd.conf.erb
b/modules/bacula/templates/bacula-fd.conf.erb
index
38f13ac
..
0be7a28
100644
(file)
--- a/
modules/bacula/templates/bacula-fd.conf.erb
+++ b/
modules/bacula/templates/bacula-fd.conf.erb
@@
-34,9
+34,9
@@
FileDaemon {
port = <%= @bacula_client_port %>
}
<%- end -%>
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 = {
ipv6 = {
- addr = <%=
@fqdn
%>
+ addr = <%=
addr
%>
port = <%= @bacula_client_port %>
}
<%- end -%>
port = <%= @bacula_client_port %>
}
<%- end -%>