Fetch graphitejs zuul dependency

Change-Id: I7c772188ffc6a86fd8d43900b586f3367fe4662d
This commit is contained in:
Joshua Hesketh 2014-06-05 13:55:23 +10:00
parent 0f585bef4f
commit 17dafbcd3e
1 changed files with 14 additions and 0 deletions

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',