puppet/bacula/templates/device.conf.erb

12 lines
353 B
Text

Device {
Name = "<%= @name %>"
Media Type = <%= @media %>
Archive Device = <%= @device %>
AutomaticMount = yes;
AlwaysOpen = no;
RemovableMedia = yes;
RandomAccess = no;
Alert Command = "sh -c 'tapeinfo -f <%= @device %> | grep TapeAlert | cat'"
Alert Command = "sh -c 'smartctl -H -l error <%= @device %> | cat'"
}