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 <anne@openstack.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2012-11-02 13:39:03 -07:00 committed by Jenkins
parent f7d2a505d6
commit 8699dea2ab

View File

@ -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",