Enable #success feature from statusbot

The enables the #success feature that was recently added to
the statusbot.

Change-Id: I66b577732d1fec271a42f9229a8b5af2e52a58f4
This commit is contained in:
Thierry Carrez 2015-09-17 16:44:42 +02:00 committed by Clark Boylan
parent 98ec6c6d2c
commit aa084758ed
2 changed files with 10 additions and 0 deletions

View File

@ -9,6 +9,8 @@ class statusbot(
$wiki_password,
$wiki_url,
$wiki_pageid,
$wiki_successpageid = undef,
$irclogs_url = undef,
$channels = [],
) {

View File

@ -17,6 +17,14 @@ username=<%= @wiki_user %>
password=<%= @wiki_password %>
url=<%= @wiki_url %>
pageid=<%= @wiki_pageid %>
<% if @wiki_successpageid %>
successpageid=<%= @wiki_successpageid %>
<% end -%>
<% if @irclogs_url %>
[irclogs]
url=<%= @irclogs_url %>
<% end -%>
[alertfile]
dir=/var/lib/statusbot/www