Fetch graphitejs zuul dependency

Change-Id: I7c772188ffc6a86fd8d43900b586f3367fe4662d
This commit is contained in:
Joshua Hesketh 2014-06-05 13:55:23 +10:00
parent eb7d4d31e2
commit 5db7d64be5

View File

@ -238,6 +238,20 @@ class zuul (
Vcsrepo['/opt/jquery-visibility']],
}
vcsrepo { '/opt/graphitejs':
ensure => latest,
provider => git,
revision => 'master',
source => 'https://github.com/prestontimmons/graphitejs.git',
}
file { '/var/lib/zuul/www/jquery.graphite.js':
ensure => link,
target => '/opt/graphitejs/jquery.graphite.js',
require => [File['/var/lib/zuul/www'],
Vcsrepo['/opt/graphitejs']],
}
file { '/var/lib/zuul/www/index.html':
ensure => link,
target => '/opt/zuul/etc/status/public_html/index.html',