From 695d81c81cd152b5dd7333d0eae2bd6df108a41e Mon Sep 17 00:00:00 2001 From: Arjen Heidinga Date: Fri, 31 Jan 2014 09:52:10 +0100 Subject: Add support for setting the descryption and group support --- templates/client.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/client.erb b/templates/client.erb index 83d5a64..5741701 100644 --- a/templates/client.erb +++ b/templates/client.erb @@ -9,9 +9,9 @@ # Registered on: <%= @h %> # Type: <%= @client_type %> <% if @description != 'absent' -%> -# Description: <%= @description.gsub!(/\n/, ' ') %> +# Description: <%= @description.gsub(/\n/, ' ') %> <% end -%> -[<%= @fhost.downcase %>] +[<% if @group != 'absent' -%><%= @group %>;<% end -%><%= @fhost.downcase %>] <% if @use_ssh -%> address ssh://<%= @host %>/bin/nc localhost <%= @port %> <% else -%> -- cgit v1.2.3