diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index 749000ef1a..ed19c087a6 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -156,7 +156,12 @@ class openstack_project::gerrit ( }, { name => 'changeid', - match => '(
|[\\s]+)(I?[0-9a-f]{7,40})(
|[\\s.]+)', + match => 'I[0-9a-f]{8,40}', + link => '#q,$1,n,z', + }, + { + name => 'gitsha', + match => '(|[\\s(])([0-9a-f]{40})(
|[\\s.,;:)])', html => '$1$2$3', }, ],