From e4192c1f976009b77d7a4addd2dd87e0baf77c3f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 May 2013 16:58:04 -0300 Subject: Adding ident parameter --- manifests/init.pp | 3 ++- templates/config.py.erb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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. -- cgit v1.2.3