Merge "Install ptgbot on eavesdrop.o.o"

This commit is contained in:
Jenkins
2017-07-12 20:22:31 +00:00
committed by Gerrit Code Review
4 changed files with 31 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ class openstack_project::eavesdrop (
$accessbot_password = '',
$project_config_repo = '',
$meetbot_channels = [],
$ptgbot_nick = '',
$ptgbot_password = '',
) {
include ::httpd
include meetbot
@@ -124,4 +126,12 @@ class openstack_project::eavesdrop (
target => '/srv/yaml2ical/calendars/',
require => File['/srv/yaml2ical'],
}
class { 'ptgbot':
nick => $ptgbot_nick,
password => $ptgbot_password,
channel => '#openstack-ptg',
vhost_name => 'ptg.openstack.org',
}
}