From 73da1b050c8228d6bc625b5392a7961303691765 Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Wed, 30 Apr 2014 11:41:40 +1000 Subject: [PATCH] Install bootstrap for zuul module Install twitter bootstrap for the zuul status page to use. Change-Id: Id99ce1a9c811b91f6381cd10d79816cd7b251dee --- manifests/init.pp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 3bb13d9..f6e3387 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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,