Switch gerritbot to project-config
Change-Id: I952a16dac32625e829d1fccb9e2472640cd31fd5
This commit is contained in:
parent
a3b6255ed3
commit
35511af844
|
@ -8,6 +8,7 @@ class gerritbot(
|
||||||
$vhost_name = '',
|
$vhost_name = '',
|
||||||
$ssh_rsa_key_contents = '',
|
$ssh_rsa_key_contents = '',
|
||||||
$ssh_rsa_pubkey_contents = '',
|
$ssh_rsa_pubkey_contents = '',
|
||||||
|
$channel_file = '',
|
||||||
) {
|
) {
|
||||||
include pip
|
include pip
|
||||||
|
|
||||||
|
@ -56,7 +57,7 @@ class gerritbot(
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
replace => true,
|
replace => true,
|
||||||
require => User['gerrit2'],
|
require => User['gerrit2'],
|
||||||
source => 'puppet:///modules/gerritbot/gerritbot_channel_config.yaml',
|
source => $channel_file,
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/gerritbot/logging.config':
|
file { '/etc/gerritbot/logging.config':
|
||||||
|
|
Loading…
Reference in New Issue