puppet/bacula/templates/device.conf.erb

13 lines
393 B
Text

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