
Avoiding these being hardcoded in openstack-infra/statusbot. Depends-On: I06d637c00dccbee49ad8a60398ac21af4064034e Change-Id: I0d36dbff893422e188b9e992f8e9bb3c1431419f
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
[ircbot]
|
|
nick=<%= @nick %>
|
|
pass=<%= @password %>
|
|
server=<%= @server %>
|
|
port=6667
|
|
<% if @channels.respond_to?('join') -%>
|
|
channels=<%= @channels.join(',') %>
|
|
<% else -%>
|
|
channels=<%= @channels %>
|
|
<% end -%>
|
|
<% if @auth_nicks.respond_to?('join') -%>
|
|
nicks=<%= @auth_nicks.join(',') %>
|
|
<% else -%>
|
|
nicks=<%= @auth_nicks %>
|
|
<% end -%>
|
|
lockfile=/var/run/statusbot/statusbot.pid
|
|
log_config=/etc/statusbot/logging.config
|
|
|
|
[wiki]
|
|
username=<%= @wiki_user %>
|
|
password=<%= @wiki_password %>
|
|
url=<%= @wiki_url %>
|
|
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 %>
|
|
[irclogs]
|
|
url=<%= @irclogs_url %>
|
|
<% end -%>
|
|
|
|
[alertfile]
|
|
dir=/var/lib/statusbot/www
|
|
|
|
<% if @twitter %>
|
|
[twitter]
|
|
consumer_key=<%= @twitter_key %>
|
|
consumer_secret=<%= @twitter_secret %>
|
|
access_token_key=<%= @twitter_token_key %>
|
|
access_token_secret=<%= @twitter_token_secret %>
|
|
<% end -%>
|