Add base URL to Mediawiki Hubot extension

Fixes #5
This commit is contained in:
Greg Karékinian
2016-05-06 16:40:37 +02:00
parent da39a04552
commit 3da46705ba
2 changed files with 3 additions and 2 deletions

View File

@@ -112,7 +112,8 @@ webhook_token = hal8000_freenode_data_bag_item['webhook_token']
template "#{node['mediawiki']['webdir']}/extensions/MediawikiHubot/DefaultConfig.php" do
source "MediawikiHubot/DefaultConfig.php.erb"
variables webhook_url: "http://localhost:8080/incoming/#{webhook_token}",
room_name: "#kosmos"
room_name: "#kosmos",
wiki_url: "https://wiki.kosmos.org/"
end
ruby_block "configuration" do