system-config/modules/openstack_project/manifests/eavesdrop.pp
Monty Taylor 44202fb688 Add #openstack-infra to eavesdrop
There have been general requests for more logging of more things. I
think we might have a longer discussion there. But recently there have
been specific requests about -infra. I think that since discussions
around the gate and rather wide-spread project concerns wind up
happening in infra, we should definitely start logging it, and then we
can talk about whether other team channels should be logged or not.

Made this use an array of channels rather than a string for sanity.

Change-Id: I3f3e82aa86155d1ac3010ca3c3ade006b7a26793
2013-07-16 17:44:17 -04:00

49 lines
1.3 KiB
Puppet

class openstack_project::eavesdrop (
$nickpass = '',
$sysadmins = [],
$statusbot_nick = '',
$statusbot_password = '',
$statusbot_server = '',
$statusbot_channels = '',
$statusbot_auth_nicks = '',
$statusbot_wiki_user = '',
$statusbot_wiki_password = '',
$statusbot_wiki_url = '',
$statusbot_wiki_pageid = '',
) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80],
sysadmins => $sysadmins
}
include meetbot
meetbot::site { 'openstack':
nick => 'openstack',
nickpass => $nickpass,
network => 'FreeNode',
server => 'chat.freenode.net:7000',
channels => [
'#openstack',
'#openstack-dev',
'#openstack-infra',
'#openstack-meeting',
'#openstack-meeting-alt',
],
use_ssl => 'True'
}
class { 'statusbot':
nick => $statusbot_nick,
password => $statusbot_password,
server => $statusbot_server,
channels => $statusbot_channels,
auth_nicks => $statusbot_auth_nicks,
wiki_user => $statusbot_wiki_user,
wiki_password => $statusbot_wiki_password,
wiki_url => $statusbot_wiki_url,
wiki_pageid => $statusbot_wiki_pageid,
}
}
# vim:sw=2:ts=2:expandtab:textwidth=79