From 8699dea2abf2e62e617a8c37035289f1225ea3fa Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 2 Nov 2012 13:39:03 -0700 Subject: [PATCH] Add docs-draft.o.o vhost on static.o.o. The documentation team would like a place to stage their doc changes for review. Add a docs-draft.o.o vhost and docs-draft docroot on static.o.o so that Jenkins can copy doc builds to static.o.o for review. Change-Id: If5b5390865344e162b8feeb631a382d90a6cab33 Reviewed-on: https://review.openstack.org/15307 Reviewed-by: Anne Gentle Reviewed-by: Jeremy Stanley Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: Jenkins --- modules/openstack_project/manifests/static.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/openstack_project/manifests/static.pp b/modules/openstack_project/manifests/static.pp index 941682c84f..985b6c601b 100644 --- a/modules/openstack_project/manifests/static.pp +++ b/modules/openstack_project/manifests/static.pp @@ -36,6 +36,13 @@ class openstack_project::static ( template => 'openstack_project/logs.vhost.erb', } + apache::vhost { 'docs-draft.openstack.org': + port => 80, + priority => '50', + docroot => '/srv/static/docs-draft', + require => File['/srv/static/docs-draft'], + } + file { '/srv/static': ensure => directory } @@ -52,6 +59,10 @@ class openstack_project::static ( ensure => directory } + file { '/srv/static/docs-draft': + ensure => directory + } + cron { "gziplogs": user => root, hour => "*/6",