Merge "Serve up jquery-visibility.js for gerrit"
This commit is contained in:
commit
ea0daf203c
@ -287,6 +287,22 @@ class openstack_project::gerrit (
|
|||||||
notify => Exec['reload_gerrit_header'],
|
notify => Exec['reload_gerrit_header'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vcsrepo { '/opt/jquery-visibility':
|
||||||
|
ensure => latest,
|
||||||
|
provider => git,
|
||||||
|
revision => 'master',
|
||||||
|
source => 'https://github.com/mathiasbynens/jquery-visibility.git',
|
||||||
|
}
|
||||||
|
|
||||||
|
file { '/home/gerrit2/review_site/static/jquery-visibility.js':
|
||||||
|
ensure => present,
|
||||||
|
source => '/opt/jquery-visibility/jquery-visibility.js',
|
||||||
|
subscribe => Vcsrepo['/opt/jquery-visibility'],
|
||||||
|
notify => Exec['reload_gerrit_header'],
|
||||||
|
require => [ File['/home/gerrit2/review_site/static'],
|
||||||
|
Class['::gerrit'] ]
|
||||||
|
}
|
||||||
|
|
||||||
file { '/home/gerrit2/review_site/static/hideci.js':
|
file { '/home/gerrit2/review_site/static/hideci.js':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
source => 'puppet:///modules/openstack_project/gerrit/hideci.js',
|
source => 'puppet:///modules/openstack_project/gerrit/hideci.js',
|
||||||
|
Loading…
Reference in New Issue
Block a user