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:
parent
98ec6c6d2c
commit
aa084758ed
|
@ -9,6 +9,8 @@ class statusbot(
|
|||
$wiki_password,
|
||||
$wiki_url,
|
||||
$wiki_pageid,
|
||||
$wiki_successpageid = undef,
|
||||
$irclogs_url = undef,
|
||||
$channels = [],
|
||||
) {
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue