summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Perez <thingee@gmail.com>2017-06-12 09:53:32 -0700
committerMike Perez <thingee@gmail.com>2017-06-27 14:06:04 -0700
commitb6df511df0de5bb46b4e5cb09f751a9b81405016 (patch)
tree316734d78241410cdc7be19d03daf5fb08f0a082
parenta6b4f7800685fa5d5e0c17fe46d27ec9ad5106f9 (diff)
Enable #thanks feature statusbot
This enables the #thanks feature in statusbot. Change-Id: I9fd10cbaa315d2a418f3bb65ff7e40014701ec85 Depends-On: I995c3189f0f109df35c56b63b3e19427f60f3750
Notes
Notes (review): Code-Review+1: Thierry Carrez <thierry@openstack.org> Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Code-Review+1: Kendall Nelson <kennelson11@gmail.com> Code-Review+2: Paul Belanger <pabelanger@redhat.com> Workflow+1: Paul Belanger <pabelanger@redhat.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 06 Oct 2017 00:31:58 +0000 Reviewed-on: https://review.openstack.org/473535 Project: openstack-infra/puppet-statusbot Branch: refs/heads/master
-rw-r--r--manifests/init.pp1
-rw-r--r--templates/statusbot.config.erb4
2 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 7003294..9ae03fb 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -16,6 +16,7 @@ class statusbot(
16 $channels = [], 16 $channels = [],
17 $irclogs_url = undef, 17 $irclogs_url = undef,
18 $wiki_successpageid = undef, 18 $wiki_successpageid = undef,
19 $wiki_thankspageid = undef,
19 $twitter = undef, 20 $twitter = undef,
20) { 21) {
21 22
diff --git a/templates/statusbot.config.erb b/templates/statusbot.config.erb
index fcc03cf..b2296ac 100644
--- a/templates/statusbot.config.erb
+++ b/templates/statusbot.config.erb
@@ -24,6 +24,10 @@ pageid=<%= @wiki_pageid %>
24<% if @wiki_successpageid %> 24<% if @wiki_successpageid %>
25successpageid=<%= @wiki_successpageid %> 25successpageid=<%= @wiki_successpageid %>
26<% end -%> 26<% end -%>
27<% if @wiki_thankspageid %>
28thankspageid=<%= @wiki_thankspageid %>
29<% end -%>
30
27 31
28<% if @irclogs_url %> 32<% if @irclogs_url %>
29[irclogs] 33[irclogs]