From c14e678f12d611de5669fe7b122ca19ec06e5b0e Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 12 Jan 2016 17:55:02 +0000 Subject: [PATCH] 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 --- modules/openstack_project/manifests/static.pp | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/modules/openstack_project/manifests/static.pp b/modules/openstack_project/manifests/static.pp index 55585ec4e6..fd6fd30045 100644 --- a/modules/openstack_project/manifests/static.pp +++ b/modules/openstack_project/manifests/static.pp @@ -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'], + } }