From 22486c73535e845726dd7d0b6d26da1d68d20d74 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 28 Apr 2014 15:32:15 -0700 Subject: [PATCH] Plumb mysql host through gerrit.pp Change-Id: I9fceda90f9e9a06bc738e70f35595b7f05426ab0 --- manifests/site.pp | 2 +- modules/openstack_project/manifests/gerrit.pp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index b15f77a2b3..4f6cb82b5f 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -16,7 +16,7 @@ node 'review.openstack.org' { github_oauth_token => hiera('gerrit_github_token'), github_project_username => hiera('github_project_username'), github_project_password => hiera('github_project_password'), - mysql_host => 'localhost', + mysql_host => hiera('gerrit_mysql_host'), mysql_password => hiera('gerrit_mysql_password'), email_private_key => hiera('gerrit_email_private_key'), gerritbot_password => hiera('gerrit_gerritbot_password'), diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index 058d5862c1..460c1e69b6 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -177,6 +177,7 @@ class openstack_project::gerrit ( contactstore_appsec => $contactstore_appsec, contactstore_pubkey => $contactstore_pubkey, contactstore_url => $contactstore_url, + mysql_host => $mysql_host, mysql_password => $mysql_password, email_private_key => $email_private_key, replicate_local => $replicate_local,