]> gitweb.fluxo.info Git - puppet-qwebirc.git/commitdiff
Adding ident parameter
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 19:58:04 +0000 (16:58 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 19:58:04 +0000 (16:58 -0300)
manifests/init.pp
templates/config.py.erb

index f583f2cb3005ceaf2dd785e07c4ac52f4c5191e5..f0e620294c48e177498598d37274f4b9d72de648 100644 (file)
@@ -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' ]:
index 90c28a0d3444ffc1483cab62ecb2479dc3eb8917..e7396df041f210a8d5d2143e9a5a7a43729aa65f 100644 (file)
@@ -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.