Unify name of the Messages Resource
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-dir.conf.erb
index e94ce58..13912fd 100644 (file)
@@ -103,7 +103,7 @@ Catalog {
 # Message delivery                                                     #
 ########################################################################
 Messages {
-  Name = Standard
+  Name = <%= @messages_name %>
   mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
   operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
   #mail on error = <%= @bacula_operator_email %> = all, !skipped
@@ -134,7 +134,7 @@ JobDefs {
   Level = Incremental
   FileSet = "Standard Set"
   Accurate = yes
-  Messages = Standard
+  Messages = <%= @messages_name %>
   Max Full Interval = 50 days
   Priority = 10
   Write Bootstrap = "/var/lib/bacula/%c.bsr"
@@ -152,7 +152,7 @@ Job {
   FileSet = "Standard Set"
   Client = <%= @some_client_name%>
   Pool = <%= @some_pool_name %>
-  Messages = Standard
+  Messages = <%= @messages_name %>
   Where = /var/tmp/bacula-restores
 }