Install bootstrap for zuul module

Install twitter bootstrap for the zuul status page to use.

Change-Id: Id99ce1a9c811b91f6381cd10d79816cd7b251dee
This commit is contained in:
Joshua Hesketh 2014-04-30 11:41:40 +10:00
parent 2ba13944c4
commit 73da1b050c
1 changed files with 15 additions and 0 deletions

View File

@ -183,6 +183,21 @@ class zuul (
Package['libjs-jquery']],
}
vcsrepo { '/opt/twitter-bootstrap':
ensure => latest,
provider => git,
revision => 'v3.1.1',
source => 'https://github.com/twbs/bootstrap.git',
}
file { '/var/lib/zuul/www/bootstrap':
ensure => link,
target => '/opt/twitter-bootstrap/dist',
require => [File['/var/lib/zuul/www'],
Package['libjs-jquery'],
Vcsrepo['/opt/twitter-bootstrap']],
}
vcsrepo { '/opt/jquery-visibility':
ensure => latest,
provider => git,