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:
parent
f7d2a505d6
commit
8699dea2ab
@ -36,6 +36,13 @@ class openstack_project::static (
|
|||||||
template => 'openstack_project/logs.vhost.erb',
|
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':
|
file { '/srv/static':
|
||||||
ensure => directory
|
ensure => directory
|
||||||
}
|
}
|
||||||
@ -52,6 +59,10 @@ class openstack_project::static (
|
|||||||
ensure => directory
|
ensure => directory
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { '/srv/static/docs-draft':
|
||||||
|
ensure => directory
|
||||||
|
}
|
||||||
|
|
||||||
cron { "gziplogs":
|
cron { "gziplogs":
|
||||||
user => root,
|
user => root,
|
||||||
hour => "*/6",
|
hour => "*/6",
|
||||||
|
Loading…
Reference in New Issue
Block a user