diff --git a/clarified/templates/remote.erb b/clarified/templates/remote.erb index 1d5ac64..f967ee3 100644 --- a/clarified/templates/remote.erb +++ b/clarified/templates/remote.erb @@ -4,7 +4,11 @@ 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/clarified/clarified-functions