Fix zuul installation

The following items were missing from an automated zuul install:

 * A pre-populated known hosts file
 * The git user/email for creating commits (.gitconfig existed
   on zuul.o.o, but switch to using zuul's config file instead).

Also, make sure that the mergers specify the zuul server as the
gearman server address rather than localhost.

Change-Id: I47a473f60c4b5b2daaa910aa61cdf6e0c6fe1528
This commit is contained in:
James E. Blair 2014-02-17 17:20:35 -08:00 committed by Jeremy Stanley
parent 9129bc39de
commit dcf33cbd6d
2 changed files with 8 additions and 0 deletions

View File

@ -32,6 +32,8 @@ class zuul (
$job_name_in_report = false,
$revision = 'master',
$statsd_host = '',
$git_email = '',
$git_name = '',
) {
include apache
include pip

View File

@ -24,3 +24,9 @@ zuul_url=<%= zuul_url %>
git_dir=/var/lib/zuul/git
zuul_url=<%= zuul_url %>
log_config=/etc/zuul/merger-logging.conf
<% if git_email != "" -%>
git_user_email=<%= git_email %>
<% end -%>
<% if git_name != "" -%>
git_user_name=<%= git_name %>
<% end -%>