#
# Bacula User Agent (or Console) Configuration File
#

Director {
    Name     = <%= scope.lookupvar('bacula::params::director_name') %>-dir
    DIRport  = <%= @port %>
    address  = <%= scope.lookupvar('bacula::params::director_address') %>
    Password = "<%= @password %>"
<%= scope.function_template(['bacula/_ssl.erb']) %>
<%= scope.function_template(['bacula/_sslkeypair.erb']) %>
}


#
# Bacula User Agent (or Console) Configuration File
#

Director {
    Name     = <%= @director %>
    DIRport  = <%= @port %>
    address  = <%= @director_address %>
    Password = "<%= @password %>"
<%= scope.function_template(['bacula/_ssl.erb']) %>
<%= scope.function_template(['bacula/_sslkeypair.erb']) %>
}


Update bconsole template to use the correct variables
Update bconsole template to use the correct variables

Aligns the bconsole template with reality.
