summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-09 16:58:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-09 16:58:04 -0300
commite4192c1f976009b77d7a4addd2dd87e0baf77c3f (patch)
tree88f4cd9a0d5afd1d4ca9a56edb68a1a6e888d693
parent49e9c924cc7087a78af757ff4e50acb944161d9c (diff)
downloadpuppet-qwebirc-e4192c1f976009b77d7a4addd2dd87e0baf77c3f.tar.gz
puppet-qwebirc-e4192c1f976009b77d7a4addd2dd87e0baf77c3f.tar.bz2
Adding ident parameter
-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.