Merge pull request 'Send wiki notifications to new info chatroom (instead of main Kosmos room)' (#224) from chore/hubot_mediawiki_notifications into master
Reviewed-on: #224
This commit is contained in:
commit
0f5f84dba2
|
@ -18,6 +18,7 @@ node.default['hal8000_xmpp']['rooms'] = [
|
||||||
'kosmos@kosmos.chat',
|
'kosmos@kosmos.chat',
|
||||||
'kosmos-dev@kosmos.chat',
|
'kosmos-dev@kosmos.chat',
|
||||||
'kredits@kosmos.chat',
|
'kredits@kosmos.chat',
|
||||||
|
'info@kosmos.chat'
|
||||||
]
|
]
|
||||||
|
|
||||||
node.default['hal8000_xmpp']['auth_admins'] = []
|
node.default['hal8000_xmpp']['auth_admins'] = []
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
node.default["mediawiki"]["url"] = "https://wiki.kosmos.org/"
|
node.default["mediawiki"]["url"] = "https://wiki.kosmos.org/"
|
||||||
node.default["mediawiki"]["hubot_base_url"] = "http://barnard.kosmos.org:8080"
|
node.default["mediawiki"]["hubot_base_url"] = "https://hal8000.chat.kosmos.org"
|
||||||
node.default["mediawiki"]["hubot_room"] = "#kosmos"
|
node.default["mediawiki"]["hubot_room"] = "info@kosmos.chat"
|
||||||
node.default["mediawiki"]["ldap_enabled"] = true
|
node.default["mediawiki"]["ldap_enabled"] = true
|
||||||
|
|
|
@ -119,7 +119,7 @@ ark "MediawikiHubot" do
|
||||||
action :cherry_pick
|
action :cherry_pick
|
||||||
end
|
end
|
||||||
|
|
||||||
hubot_credentials = Chef::EncryptedDataBagItem.load('credentials', 'hal8000_freenode')
|
hubot_credentials = Chef::EncryptedDataBagItem.load('credentials', 'hal8000_xmpp')
|
||||||
webhook_token = hubot_credentials['webhook_token']
|
webhook_token = hubot_credentials['webhook_token']
|
||||||
|
|
||||||
template "#{node['mediawiki']['webdir']}/extensions/MediawikiHubot/DefaultConfig.php" do
|
template "#{node['mediawiki']['webdir']}/extensions/MediawikiHubot/DefaultConfig.php" do
|
||||||
|
|
Loading…
Reference in New Issue