Merge "Fix jquery-visibility.min.js name"
This commit is contained in:
commit
ef686b72d4
@ -85,6 +85,12 @@ class zuul (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ! defined(Package['yui-compressor']) {
|
||||||
|
package { 'yui-compressor':
|
||||||
|
ensure => present,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
user { 'zuul':
|
user { 'zuul':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
home => '/home/zuul',
|
home => '/home/zuul',
|
||||||
@ -222,11 +228,14 @@ class zuul (
|
|||||||
source => 'https://github.com/mathiasbynens/jquery-visibility.git',
|
source => 'https://github.com/mathiasbynens/jquery-visibility.git',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/lib/zuul/www/jquery-visibility.min.js':
|
exec { 'install-jquery-visibility':
|
||||||
ensure => link,
|
command => 'yui-compressor -o /var/lib/zuul/www/jquery-visibility.min.js /opt/jquery-visibility/jquery-visibility.js',
|
||||||
target => '/opt/jquery-visibility/jquery-visibility.min.js',
|
path => 'bin:/usr/bin',
|
||||||
require => [File['/var/lib/zuul/www'],
|
refreshonly => true,
|
||||||
Vcsrepo['/opt/jquery-visibility']],
|
subscribe => Vcsrepo['/opt/jquery-visibility'],
|
||||||
|
require => [File['/var/lib/zuul/www'],
|
||||||
|
Package['yui-compressor'],
|
||||||
|
Vcsrepo['/opt/jquery-visibility']],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/lib/zuul/www/index.html':
|
file { '/var/lib/zuul/www/index.html':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user