From: Silvio Rhatto Date: Thu, 9 May 2013 20:09:38 +0000 (-0300) Subject: Fix template for IDENT parameter X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=35a42e3aade44605cc9266d7912c784e7ace59f1;p=puppet-qwebirc.git Fix template for IDENT parameter --- diff --git a/templates/config.py.erb b/templates/config.py.erb index e7396df..b8aa298 100644 --- a/templates/config.py.erb +++ b/templates/config.py.erb @@ -45,7 +45,11 @@ REALNAME = "<%= realname %>" # IDENT = IDENT_HEX # - the literal value IDENT_NICKNAME, this will use the users # supplied nickname as their ident. +<%- if ident == 'IDENT_HEX' or ident == 'IDENT_NICKNAME' -%> +IDENT = <%= ident %> +<%- else -%> IDENT = "<%= ident %>" +<%- end -%> # OPTION: OUTGOING_IP # The IP address to bind to when connecting to the IRC server.