summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-19 22:15:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-19 22:15:06 -0300
commit4eaecf2afe6139b9fe69ed4844421d9be05e3dc1 (patch)
tree3ccebdafbc29d53dfade67a98ea89c1435f9d639 /templates
parent346cf5df6dc4f170b58b877197537e81a046ee5d (diff)
downloadpuppet-qwebirc-4eaecf2afe6139b9fe69ed4844421d9be05e3dc1.tar.gz
puppet-qwebirc-4eaecf2afe6139b9fe69ed4844421d9be05e3dc1.tar.bz2
-a -m SSL fingerprint support
Diffstat (limited to 'templates')
-rw-r--r--templates/config.py.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/config.py.erb b/templates/config.py.erb
index eec708b..b960f37 100644
--- a/templates/config.py.erb
+++ b/templates/config.py.erb
@@ -26,6 +26,13 @@ IRCSERVER, IRCPORT = "<%= ircserver %>", <%= ircport %>
# If this option is uncommented it will override IRCPORT.
SSLPORT = <%= sslport %>
<% end %>
+
+<% if sslfingerprint != false %>
+# OPTION: SSLFINGERPRINT
+# SHA1 Fingerprint of the IRC Server SSL key. Connections
+# will fail if this fingerprint doesn't match.
+SSLFINGERPRINT = <%= sslfingerprint %>
+<% end %>
# OPTION: REALNAME
# The realname field of IRC clients will be set to this value.
REALNAME = "<%= realname %>"