From b6df511df0de5bb46b4e5cb09f751a9b81405016 Mon Sep 17 00:00:00 2001 From: Mike Perez Date: Mon, 12 Jun 2017 09:53:32 -0700 Subject: [PATCH] Enable #thanks feature statusbot This enables the #thanks feature in statusbot. Change-Id: I9fd10cbaa315d2a418f3bb65ff7e40014701ec85 Depends-On: I995c3189f0f109df35c56b63b3e19427f60f3750 --- manifests/init.pp | 1 + templates/statusbot.config.erb | 4 ++++ 2 files changed, 5 insertions(+) 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( $channels = [], $irclogs_url = undef, $wiki_successpageid = undef, + $wiki_thankspageid = undef, $twitter = undef, ) { 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 %> <% if @wiki_successpageid %> successpageid=<%= @wiki_successpageid %> <% end -%> +<% if @wiki_thankspageid %> +thankspageid=<%= @wiki_thankspageid %> +<% end -%> + <% if @irclogs_url %> [irclogs]