diff --git a/modules/gerrit/templates/gerrit.config.erb b/modules/gerrit/templates/gerrit.config.erb index 69e2cf927c..a4d6efd650 100644 --- a/modules/gerrit/templates/gerrit.config.erb +++ b/modules/gerrit/templates/gerrit.config.erb @@ -104,8 +104,8 @@ <% else -%> type = cgit <% end -%> -<% if web_repo_url -%> - url = "<%= web_repo_url %>" +<% if scope.lookupvar("gerrit::web_repo_url") -%> + url = "<%= scope.lookupvar('gerrit::web_repo_url') %>" <% end -%> <% end -%> <% if contactstore == true -%> diff --git a/modules/openstack_project/manifests/review_dev.pp b/modules/openstack_project/manifests/review_dev.pp index fa47cd0d52..c19ba8af59 100644 --- a/modules/openstack_project/manifests/review_dev.pp +++ b/modules/openstack_project/manifests/review_dev.pp @@ -66,7 +66,7 @@ class openstack_project::review_dev ( sysadmins => $sysadmins, gitweb => false, cgit => true, - web_repo_url => 'https://git.openstack.org/cgit', + web_repo_url => 'https://git.openstack.org/cgit/', swift_username => $swift_username, swift_password => $swift_password, replication => [