From: Silvio Rhatto Date: Thu, 9 May 2013 19:39:51 +0000 (-0300) Subject: Fixing quotes for WEBIRC_MODE X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ebb38d8f08b5565853cefb2c3dd8a57339a83810;p=puppet-qwebirc.git Fixing quotes for WEBIRC_MODE --- diff --git a/templates/config.py.erb b/templates/config.py.erb index 0feb9f2..90c28a0 100644 --- a/templates/config.py.erb +++ b/templates/config.py.erb @@ -80,7 +80,11 @@ IDENT = "webchat" # - the literal value None, i.e. WEBIRC_MODE = None # Send the IP and hostname in the realname field, overrides # the REALNAME option. +<%- if webirc_mode == 'None' -%> WEBIRC_MODE = <%= webirc_mode %> +<%- else -%> +WEBIRC_MODE = "<%= webirc_mode %>" +<%- end -%> # OPTION: WEBIRC_PASSWORD # Used for WEBIRC_MODE webirc and cgiirc, see WEBIRC_MODE