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,