summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp3
-rw-r--r--templates/config.py.erb2
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.