Merge "Fix jquery setup on Gerrit server."
This commit is contained in:
commit
e0cb759acb
@ -1,5 +1,5 @@
|
||||
<div>
|
||||
<script type="text/javascript" src="static/jquery.min.js" />
|
||||
<script type="text/javascript" src="static/jquery.js" />
|
||||
<script type="text/javascript" src="static/hideci.js" />
|
||||
<a href="/"><h1 style="color: #CF2F19"><img src="static/title.png" style="vertical-align:middle;" /></h1></a>
|
||||
</div>
|
||||
|
@ -273,11 +273,15 @@ 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']],
|
||||
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'],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user