forked from voxpupuli/puppet-bacula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbacula-fd-header.epp
29 lines (27 loc) · 1019 Bytes
/
bacula-fd-header.epp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Director {
Name = <%= $bacula::client::director_name %>-dir
Password = "<%= $bacula::client::password %>"
<%= epp('bacula/_tls_server.epp') -%>
}
Director {
Name = <%= $bacula::client::director_name %>-mon
Password = "<%= $bacula::client::password %>"
Monitor = yes
<%= epp('bacula/_tls_server.epp') -%>
}
FileDaemon {
Name = <%= $bacula::client::client %>-fd
<% unless $bacula::client::listen_address.empty { -%>
FDAddresses = {
<%= epp('bacula/_listen.epp', { listen_addresses => $bacula::client::listen_address, port => $bacula::client::port }) -%>
}
<% } -%>
WorkingDirectory = <%= $bacula::client::homedir %>
Pid Directory = <%= $bacula::client::rundir %>
Maximum Concurrent Jobs = <%= $bacula::client::max_concurrent_jobs %>
<% if $bacula::client::plugin_dir { -%>
Plugin Directory = <%= $bacula::client::plugin_dir %>
<% } -%>
<%= epp('bacula/_tls_client.epp') -%>
<%= epp('bacula/_pki.epp') -%>
}