add new vhost for releases.openstack.org

This patch adds the new virtualhost for releases.openstack.org, to
receive documents published by the release management team.

Change-Id: I41221d84e6c985bcc55f9b2a6f15210d2410bc84
This commit is contained in:
Doug Hellmann 2016-01-12 17:55:02 +00:00
parent d11bd740f5
commit c14e678f12

View File

@ -344,4 +344,28 @@ class openstack_project::static (
revision => 'master',
source => 'https://git.openstack.org/openstack-infra/trystack-site',
}
###########################################################
# Releases
::httpd::vhost { 'releases.openstack.org':
port => 443, # Is required despite not being used.
docroot => '/srv/static/releases',
priority => '50',
ssl => true,
template => 'openstack_project/static-http-and-https.vhost.erb',
vhost_name => 'releases.openstack.org',
require => [
File['/srv/static/releases'],
File[$cert_file],
File[$key_file],
],
}
file { '/srv/static/releases':
ensure => directory,
owner => 'jenkins',
group => 'jenkins',
require => User['jenkins'],
}
}