puppet/bacula/templates/device.conf.erb

12 lines
323 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 %c | grep TapeAlert | cat'"
Alert Command = "sh -c 'smartctl -H -l error %c'"
}