diff --git a/modules/openstack_project/files/gerrit/GerritSiteHeader.html b/modules/openstack_project/files/gerrit/GerritSiteHeader.html index 535594079e..218977658d 100644 --- a/modules/openstack_project/files/gerrit/GerritSiteHeader.html +++ b/modules/openstack_project/files/gerrit/GerritSiteHeader.html @@ -1,5 +1,5 @@
diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index ab07b967d1..49b5640efa 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -273,12 +273,16 @@ class openstack_project::gerrit ( ensure => present, } - file { '/home/gerrit2/review_site/static/jquery.min.js': + file { '/home/gerrit2/review_site/static/jquery.js': ensure => present, - source => '/usr/share/javascript/jquery/jquery.min.js', - require => [Class['::gerrit'], - Package['libjs-jquery']], - notify => Exec['reload_gerrit_header'], + source => '/usr/share/javascript/jquery/jquery.js', + require => [ + File['/home/gerrit2/review_site/static'], + Class['::gerrit'], + Package['libjs-jquery'], + ], + subscribe => Package['libjs-jquery'], + notify => Exec['reload_gerrit_header'], } file { '/home/gerrit2/review_site/static/hideci.js':