9fd2135a46
Extract eavedrop into its own service playbook and puppet manifest. While doing that, stop using jenkinsuser on eavesdrop in favor of zuul-user. Add the ability to override the keys for the zuul user. Remove openstack_project::server, it doesn't do anything. Containerize and anisblize accessbot. The structure of how we're doing it in puppet makes it hard to actually run the puppet in the gate. Run the script in its own playbook so that we can avoid running it in the gate. Change-Id: I53cb63ffa4ae50575d4fa37b24323ad13ec1bac3
31 lines
1.7 KiB
Puppet
31 lines
1.7 KiB
Puppet
# Node-OS: xenial
|
|
node /^eavesdrop\d*\.open.*\.org$/ {
|
|
$group = "eavesdrop"
|
|
class { 'openstack_project::eavesdrop':
|
|
nickpass => hiera('openstack_meetbot_password'),
|
|
statusbot_nick => hiera('statusbot_nick', 'username'),
|
|
statusbot_password => hiera('statusbot_nick_password'),
|
|
statusbot_server => 'chat.freenode.net',
|
|
statusbot_channels => hiera_array('statusbot_channels', ['openstack_infra']),
|
|
statusbot_auth_nicks => hiera_array('statusbot_auth_nicks'),
|
|
statusbot_wiki_user => hiera('statusbot_wiki_username', 'username'),
|
|
statusbot_wiki_password => hiera('statusbot_wiki_password'),
|
|
statusbot_wiki_url => 'https://wiki.openstack.org/w/api.php',
|
|
# https://wiki.openstack.org/wiki/Infrastructure_Status
|
|
statusbot_wiki_pageid => '1781',
|
|
statusbot_wiki_successpageid => '7717',
|
|
statusbot_wiki_successpageurl => 'https://wiki.openstack.org/wiki/Successes',
|
|
statusbot_wiki_thankspageid => '37700',
|
|
statusbot_wiki_thankspageurl => 'https://wiki.openstack.org/wiki/Thanks',
|
|
statusbot_irclogs_url => 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html',
|
|
statusbot_twitter => true,
|
|
statusbot_twitter_key => hiera('statusbot_twitter_key'),
|
|
statusbot_twitter_secret => hiera('statusbot_twitter_secret'),
|
|
statusbot_twitter_token_key => hiera('statusbot_twitter_token_key'),
|
|
statusbot_twitter_token_secret => hiera('statusbot_twitter_token_secret'),
|
|
meetbot_channels => hiera('meetbot_channels', ['openstack-infra']),
|
|
ptgbot_nick => hiera('ptgbot_nick', 'username'),
|
|
ptgbot_password => hiera('ptgbot_password'),
|
|
}
|
|
}
|