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