Set the success/thanks page url for status bot
Avoid having these hardcoded in statusbot itself. Depends-On: I0d36dbff893422e188b9e992f8e9bb3c1431419f Change-Id: I08cf018848c088217831b725106b7ac570d77c06
This commit is contained in:
parent
ccd3146c72
commit
da91542648
@ -339,10 +339,10 @@ node /^eavesdrop\d*\.openstack\.org$/ {
|
|||||||
statusbot_wiki_url => 'https://wiki.openstack.org/w/api.php',
|
statusbot_wiki_url => 'https://wiki.openstack.org/w/api.php',
|
||||||
# https://wiki.openstack.org/wiki/Infrastructure_Status
|
# https://wiki.openstack.org/wiki/Infrastructure_Status
|
||||||
statusbot_wiki_pageid => '1781',
|
statusbot_wiki_pageid => '1781',
|
||||||
# https://wiki.openstack.org/wiki/Successes
|
|
||||||
statusbot_wiki_successpageid => '7717',
|
statusbot_wiki_successpageid => '7717',
|
||||||
# https://wiki.openstack.org/wiki/Thanks
|
statusbot_wiki_successpageurl => 'https://wiki.openstack.org/wiki/Successes',
|
||||||
statusbot_wiki_thankspageid => '37700',
|
statusbot_wiki_thankspageid => '37700',
|
||||||
|
statusbot_wiki_thankspageurl => 'https://wiki.openstack.org/wiki/Thanks',
|
||||||
statusbot_irclogs_url => 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html',
|
statusbot_irclogs_url => 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html',
|
||||||
statusbot_twitter => true,
|
statusbot_twitter => true,
|
||||||
statusbot_twitter_key => hiera('statusbot_twitter_key'),
|
statusbot_twitter_key => hiera('statusbot_twitter_key'),
|
||||||
|
@ -12,7 +12,9 @@ class openstack_project::eavesdrop (
|
|||||||
$statusbot_wiki_url = '',
|
$statusbot_wiki_url = '',
|
||||||
$statusbot_wiki_pageid = '',
|
$statusbot_wiki_pageid = '',
|
||||||
$statusbot_wiki_successpageid = '',
|
$statusbot_wiki_successpageid = '',
|
||||||
|
$statusbot_wiki_successpageurl = '',
|
||||||
$statusbot_wiki_thankspageid = '',
|
$statusbot_wiki_thankspageid = '',
|
||||||
|
$statusbot_wiki_thankspageurl = '',
|
||||||
$statusbot_irclogs_url = '',
|
$statusbot_irclogs_url = '',
|
||||||
$statusbot_twitter = undef,
|
$statusbot_twitter = undef,
|
||||||
$statusbot_twitter_key = '',
|
$statusbot_twitter_key = '',
|
||||||
@ -58,7 +60,9 @@ class openstack_project::eavesdrop (
|
|||||||
wiki_url => $statusbot_wiki_url,
|
wiki_url => $statusbot_wiki_url,
|
||||||
wiki_pageid => $statusbot_wiki_pageid,
|
wiki_pageid => $statusbot_wiki_pageid,
|
||||||
wiki_successpageid => $statusbot_wiki_successpageid,
|
wiki_successpageid => $statusbot_wiki_successpageid,
|
||||||
|
wiki_successpageurl => $statusbot_wiki_successpageurl,
|
||||||
wiki_thankspageid => $statusbot_wiki_thankspageid,
|
wiki_thankspageid => $statusbot_wiki_thankspageid,
|
||||||
|
wiki_thankspageurl => $statusbot_wiki_thankspageurl,
|
||||||
irclogs_url => $statusbot_irclogs_url,
|
irclogs_url => $statusbot_irclogs_url,
|
||||||
twitter => $statusbot_twitter,
|
twitter => $statusbot_twitter,
|
||||||
twitter_key => $statusbot_twitter_key,
|
twitter_key => $statusbot_twitter_key,
|
||||||
|
Loading…
Reference in New Issue
Block a user