]> gitweb.fluxo.info Git - puppet-qwebirc.git/commitdiff
Fix template for IDENT parameter
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 20:09:38 +0000 (17:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 20:09:38 +0000 (17:09 -0300)
templates/config.py.erb

index e7396df041f210a8d5d2143e9a5a7a43729aa65f..b8aa298081598402f5753185fa33aedb90f41223 100644 (file)
@@ -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.