Enable the #thanks feature in statusbot

This adds the configuration bits to enable the #thanks command in
statusbot.

Change-Id: I96873f3f764d9b8b77eb2ce68de24ccb56862a15
Depends-On: I9fd10cbaa315d2a418f3bb65ff7e40014701ec85
This commit is contained in:
Mike Perez 2017-06-12 09:54:40 -07:00
parent 2a031d96ca
commit a3cba4005a
2 changed files with 4 additions and 0 deletions

View File

@ -329,6 +329,8 @@ node 'eavesdrop.openstack.org' {
statusbot_wiki_pageid => '1781',
# https://wiki.openstack.org/wiki/Successes
statusbot_wiki_successpageid => '7717',
# https://wiki.openstack.org/wiki/Thanks
statusbot_wiki_thankspageid => '37700',
statusbot_irclogs_url => 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html',
statusbot_twitter => true,
statusbot_twitter_key => hiera('statusbot_twitter_key'),

View File

@ -12,6 +12,7 @@ class openstack_project::eavesdrop (
$statusbot_wiki_url = '',
$statusbot_wiki_pageid = '',
$statusbot_wiki_successpageid = '',
$statusbot_wiki_thankspageid = '',
$statusbot_irclogs_url = '',
$statusbot_twitter = undef,
$statusbot_twitter_key = '',
@ -54,6 +55,7 @@ class openstack_project::eavesdrop (
wiki_url => $statusbot_wiki_url,
wiki_pageid => $statusbot_wiki_pageid,
wiki_successpageid => $statusbot_wiki_successpageid,
wiki_thankspageid => $statusbot_wiki_thankspageid,
irclogs_url => $statusbot_irclogs_url,
twitter => $statusbot_twitter,
twitter_key => $statusbot_twitter_key,