Merge "Copy unminimized flot files"

This commit is contained in:
Zuul 2020-01-29 16:07:09 +00:00 committed by Gerrit Code Review
commit e28019282e

View File

@ -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'],
],
}