Add a resource to the XMPP username

The hubot-xmpp module supports it, so now the bots don't have a long
auto-generated resource
This commit is contained in:
Greg Karékinian 2016-10-27 15:01:46 +02:00
parent 3649e11207
commit 6ce2d04879
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ application "botka_xmpp" do
entry_point "/srv/botka_xmpp/current/bin/hubot -a xmpp --name botka" entry_point "/srv/botka_xmpp/current/bin/hubot -a xmpp --name botka"
# Use our own systemd service that depends on redis-server # Use our own systemd service that depends on redis-server
template "nodejs.systemd.service.erb" template "nodejs.systemd.service.erb"
environment "HUBOT_XMPP_USERNAME" => "botka@5apps.com", environment "HUBOT_XMPP_USERNAME" => "botka@5apps.com/hubot",
"HUBOT_XMPP_PASSWORD" => botka_xmpp_data_bag_item['password'], "HUBOT_XMPP_PASSWORD" => botka_xmpp_data_bag_item['password'],
"HUBOT_XMPP_ROOMS" => "5info@muc.5apps.com,5ops@muc.5apps.com,core@muc.5apps.com,deploy@muc.5apps.com,storage@muc.5apps.com,watercooler@muc.5apps.com", "HUBOT_XMPP_ROOMS" => "5info@muc.5apps.com,5ops@muc.5apps.com,core@muc.5apps.com,deploy@muc.5apps.com,storage@muc.5apps.com,watercooler@muc.5apps.com",
"HUBOT_XMPP_HOST" => "xmpp.5apps.com", "HUBOT_XMPP_HOST" => "xmpp.5apps.com",

View File

@ -54,7 +54,7 @@ application "schlupp_xmpp" do
entry_point "/srv/schlupp_xmpp/current/bin/hubot -a xmpp --name schlupp" entry_point "/srv/schlupp_xmpp/current/bin/hubot -a xmpp --name schlupp"
# Use our own systemd service that depends on redis-server # Use our own systemd service that depends on redis-server
template "nodejs.systemd.service.erb" template "nodejs.systemd.service.erb"
environment "HUBOT_XMPP_USERNAME" => "schlupp@5apps.com", environment "HUBOT_XMPP_USERNAME" => "schlupp@5apps.com/hubot",
"HUBOT_XMPP_PASSWORD" => schlupp_xmpp_data_bag_item['password'], "HUBOT_XMPP_PASSWORD" => schlupp_xmpp_data_bag_item['password'],
"HUBOT_XMPP_ROOMS" => "5info@muc.5apps.com,5ops@muc.5apps.com,core@muc.5apps.com,deploy@muc.5apps.com,storage@muc.5apps.com,watercooler@muc.5apps.com", "HUBOT_XMPP_ROOMS" => "5info@muc.5apps.com,5ops@muc.5apps.com,core@muc.5apps.com,deploy@muc.5apps.com,storage@muc.5apps.com,watercooler@muc.5apps.com",
"HUBOT_XMPP_HOST" => "xmpp.5apps.com", "HUBOT_XMPP_HOST" => "xmpp.5apps.com",