Add configuration for thanks/success page url

Avoiding these being hardcoded in openstack-infra/statusbot.

Depends-On: I06d637c00dccbee49ad8a60398ac21af4064034e
Change-Id: I0d36dbff893422e188b9e992f8e9bb3c1431419f
This commit is contained in:
Mike Perez 2018-01-04 07:56:11 -08:00
parent 7b9f7fbd88
commit 3973ed99a2
2 changed files with 14 additions and 5 deletions

View File

@ -13,11 +13,13 @@ class statusbot(
$twitter_secret = undef,
$twitter_token_key = undef,
$twitter_token_secret = undef,
$channels = [],
$irclogs_url = undef,
$wiki_successpageid = undef,
$wiki_thankspageid = undef,
$twitter = undef,
$channels = [],
$irclogs_url = undef,
$wiki_successpageid = undef,
$wiki_successpageurl = undef,
$wiki_thankspageid = undef,
$wiki_thankspageurl = undef,
$twitter = undef,
) {
user { 'statusbot':

View File

@ -24,9 +24,16 @@ pageid=<%= @wiki_pageid %>
<% if @wiki_successpageid %>
successpageid=<%= @wiki_successpageid %>
<% end -%>
<% if @wiki_successpageurl %>
successpageurl=<%= @wiki_successpageurl %>
<% end -%>
<% if @wiki_thankspageid %>
thankspageid=<%= @wiki_thankspageid %>
<% end -%>
<% if @wiki_thankspageurl %>
thankspageurl=<%= @wiki_thankspageurl %>
<% end -%>
<% if @irclogs_url %>