class qwebirc($ircserver = 'irc.myserver.com', $ircport = '6667', $realname = 'http://moo.com/',
$webirc_mode = 'None', $base_url = 'http://foo.foo.org/', $network_name = 'FooNet',
$sslport = false, $feedback_from = 'moo@moo.com', $feedback_to = 'moo@moo.com',
- $sslfingerprint = false) {
+ $sslfingerprint = false, $webirc_password = false) {
package { [ 'python-twisted', 'python-openssl', 'python-simplejson', 'mercurial' ]:
ensure => present,
# OPTION: WEBIRC_PASSWORD
# Used for WEBIRC_MODE webirc and cgiirc, see WEBIRC_MODE
# option documentation.
-#WEBIRC_PASSWORD = "fish"
+<%- if webirc_password != false -%>
+WEBIRC_PASSWORD = "<%= webirc_password -%>"
+<%- end %>
# OPTION: CGIIRC_STRING
# Command sent to IRC server in for cgiirc WEBIRC_MODE.