f8a514bfe7
Change-Id: I293f4b5dd76de562cec39b4c995a2c255d383263 Reviewed-on: https://review.openstack.org/25765 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
43 lines
1.2 KiB
Puppet
43 lines
1.2 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-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
|