From: Silvio Rhatto Date: Thu, 9 May 2013 19:58:04 +0000 (-0300) Subject: Adding ident parameter X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e4192c1f976009b77d7a4addd2dd87e0baf77c3f;p=puppet-qwebirc.git Adding ident parameter --- diff --git a/manifests/init.pp b/manifests/init.pp index f583f2c..f0e6202 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -10,7 +10,8 @@ class qwebirc( $feedback_from = 'moo@moo.com', $feedback_to = 'moo@moo.com', $sslfingerprint = false, - $webirc_password = false + $webirc_password = false, + $ident = 'webchat' ) { package { [ 'python-twisted', 'python-openssl', 'python-simplejson', 'mercurial' ]: diff --git a/templates/config.py.erb b/templates/config.py.erb index 90c28a0..e7396df 100644 --- a/templates/config.py.erb +++ b/templates/config.py.erb @@ -45,7 +45,7 @@ REALNAME = "<%= realname %>" # IDENT = IDENT_HEX # - the literal value IDENT_NICKNAME, this will use the users # supplied nickname as their ident. -IDENT = "webchat" +IDENT = "<%= ident %>" # OPTION: OUTGOING_IP # The IP address to bind to when connecting to the IRC server.