puppet/abusesa/templates/recorder/remote.erb
2016-06-04 22:46:10 +03:00

14 lines
392 B
Text

#!/bin/bash
CAPTURE_DIR="/var/lib/recorder/<%= @name %>"
PRIVATE_CERT="<%= @puppet_ssldir %>/private_keys/<%= @homename %>.pem"
PUBLIC_CERT="<%= @puppet_ssldir %>/certs/<%= @homename %>.pem"
PORT="<%= @remoteport %>"
<% if @collab.is_a?(Array) -%>
COLLAB="<%= @collab.join(" ") %>"
<% else -%>
COLLAB="<%= @collab %>"
<% end -%>
OPTIONS="<%= @remoteopt %>"
. /etc/abusesa/abusesa-functions