New mirror
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-dir.conf.erb
index ad43320..3ceb660 100644 (file)
@@ -197,12 +197,12 @@ Storage {
   Media Type = "<%= bacula_filestor_name %>-catalog"
   Maximum Concurrent Jobs = 10
 
-#  TLS Enable = yes
-#  TLS Require = yes
-#  TLS CA Certificate File = "<%= bacula_ca_path %>"
-#  # This is a client certificate, used by the director to connect to the storage daemon
-#  TLS Certificate = "<%= bacula_ssl_client_cert %>"
-#  TLS Key = "<%= bacula_ssl_client_key %>"
+  TLS Enable = yes
+  TLS Require = yes
+  TLS CA Certificate File = "<%= bacula_ca_path %>"
+  # This is a client certificate, used by the director to connect to the storage daemon
+  TLS Certificate = "<%= bacula_ssl_client_cert %>"
+  TLS Key = "<%= bacula_ssl_client_key %>"
 }
 Pool {
   Name = "poolcatalog-<%=bacula_pool_name%>"
@@ -242,11 +242,6 @@ Job {
   Write Bootstrap = "/var/lib/bacula/%n.bsr"
   Priority = 15    # run after main backup
   Pool = "poolcatalog-<%=bacula_pool_name%>"
-  RunScript {
-    RunsWhen=After
-    RunsOnClient=No
-    Console = "purge volume action=all allpools storage=%w"
-  }
 }
 
 ########################################################################