Puppet Class: profile::vopsbot
- Defined in:
- modules/profile/manifests/vopsbot.pp
Summary
profile to install vopsbotOverview
SPDX-License-Identifier: Apache-2.0
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'modules/profile/manifests/vopsbot.pp', line 10
class profile::vopsbot(
String $active_host = lookup('profile::icinga::active_host'),
String $nickname = lookup('profile::vopsbot::nickname'),
String $password = lookup('profile::vopsbot::password'),
String $vo_api_id = lookup('profile::vopsbot::vo_api_id'),
String $vo_api_key = lookup('profile::vopsbot::vo_api_key'),
Array[String] $channels = lookup('profile::vopsbot::irc_channels'),
Hash[String, Vopsbot::User] $vo_users = lookup('profile::vopsbot::vo_users'),
) {
class { 'vopsbot':
users => $vo_users,
irc_server => 'irc.libera.chat',
server_port => 6697,
nickname => $nickname,
password => $password,
irc_channels => $channels,
vo_api_id => $vo_api_id,
vo_api_key => $vo_api_key,
database_name => 'vopsbot',
run_service => ($active_host == $facts['networking']['fqdn']),
}
}
|