Switch gerritbot to project-config

Change-Id: I952a16dac32625e829d1fccb9e2472640cd31fd5
This commit is contained in:
James E. Blair 2014-09-19 18:32:25 -07:00
parent a3b6255ed3
commit 35511af844
1 changed files with 2 additions and 1 deletions

View File

@ -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':