Copy unminimized flot files
yui-compressor is not happy with flot's jquery.flot.js file. These files are actually pretty small especially when compared to our input json data. Lets just serve them as is. Depends-On: https://review.opendev.org/704716 Change-Id: Ibfd081bb73a6c352798a7822ab781c972ace4bc3
This commit is contained in:
parent
89b15fec21
commit
8b51cc616a
@ -133,13 +133,12 @@ class openstack_project::status (
|
||||
}
|
||||
|
||||
exec { 'install_flot' :
|
||||
command => 'yui-compressor -o \'.js$:.min.js\' /opt/flot/source/jquery.flot*.js; mv /opt/flot/source/jquery.flot*.min.js /srv/static/status',
|
||||
command => 'cp /opt/flot/source/jquery.flot.js /opt/flot/source/jquery.canvaswrapper.js /opt/flot/source/jquery.colorhelpers.js /opt/flot/source/jquery.flot.*.js /srv/static/status',
|
||||
path => '/bin:/usr/bin',
|
||||
refreshonly => true,
|
||||
subscribe => Vcsrepo['/opt/flot'],
|
||||
require => [
|
||||
File['/srv/static/status'],
|
||||
Package['yui-compressor'],
|
||||
Vcsrepo['/opt/flot'],
|
||||
],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user