From 35511af84406d7895c1350d7bde752094254ea7c Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 19 Sep 2014 18:32:25 -0700 Subject: [PATCH] Switch gerritbot to project-config Change-Id: I952a16dac32625e829d1fccb9e2472640cd31fd5 --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index b1d2c67..a4fa76a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -8,6 +8,7 @@ class gerritbot( $vhost_name = '', $ssh_rsa_key_contents = '', $ssh_rsa_pubkey_contents = '', + $channel_file = '', ) { include pip @@ -56,7 +57,7 @@ class gerritbot( owner => 'root', replace => true, require => User['gerrit2'], - source => 'puppet:///modules/gerritbot/gerritbot_channel_config.yaml', + source => $channel_file, } file { '/etc/gerritbot/logging.config':