Switch accessbot to project-config
Change-Id: Ie1e6416c0b6d70d647b3c3bcef8843cc06dc73f4
This commit is contained in:
parent
c348a3237f
commit
180308970e
@ -252,6 +252,7 @@ node 'planet.openstack.org' {
|
||||
# Node-OS: precise
|
||||
node 'eavesdrop.openstack.org' {
|
||||
class { 'openstack_project::eavesdrop':
|
||||
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
||||
nickpass => hiera('openstack_meetbot_password', 'XXX'),
|
||||
sysadmins => hiera('sysadmins', []),
|
||||
statusbot_nick => hiera('statusbot_nick', 'username'),
|
||||
|
@ -14,6 +14,7 @@ class openstack_project::eavesdrop (
|
||||
$statusbot_wiki_pageid = '',
|
||||
$accessbot_nick = '',
|
||||
$accessbot_password = '',
|
||||
$project_config_repo = '',
|
||||
) {
|
||||
class { 'openstack_project::server':
|
||||
iptables_public_tcp_ports => [80],
|
||||
@ -97,10 +98,15 @@ class openstack_project::eavesdrop (
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
class { 'project_config':
|
||||
url => $project_config_repo,
|
||||
}
|
||||
|
||||
class { 'accessbot':
|
||||
nick => $accessbot_nick,
|
||||
password => $accessbot_password,
|
||||
server => $statusbot_server,
|
||||
channel_file => 'puppet:///modules/openstack_project/accessbot/channels.yaml',
|
||||
channel_file => $::project_config::accessbot_channels_yaml,
|
||||
require => $::project_config::config_dir,
|
||||
}
|
||||
}
|
||||
|
@ -31,6 +31,7 @@ class project_config(
|
||||
}
|
||||
}
|
||||
|
||||
$accessbot_channels_yaml = "/etc/project-config/${base}accessbot/channels.yaml"
|
||||
$gerrit_acls_dir = "/etc/project-config/${base}gerrit/acls"
|
||||
$gerrit_notify_impact_file = "/etc/project-config/${base}gerrit/notify_impact.yaml"
|
||||
$jeepyb_project_file = "/etc/project-config/${base}gerrit/projects.yaml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user