From 59f5a01fca9b90821a85809304cfef79fb26eea7 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 7 Nov 2014 20:09:46 +0000 Subject: [PATCH] Add a security.openstack.org site for advisories This is the Apache vhost definition providing a place to host security advisory documents, which will be auto-published in a continuous fashion from files in the openstack/ossa repo. Change-Id: I13e4e9731345d629854b4c11efeac8fe2f6b6058 --- modules/openstack_project/manifests/static.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/modules/openstack_project/manifests/static.pp b/modules/openstack_project/manifests/static.pp index 7b6681dad9..fe4df81504 100644 --- a/modules/openstack_project/manifests/static.pp +++ b/modules/openstack_project/manifests/static.pp @@ -217,6 +217,23 @@ class openstack_project::static ( force => true, } + ########################################################### + # Security + + apache::vhost { 'security.openstack.org': + port => 80, + priority => '50', + docroot => '/srv/static/security', + require => File['/srv/static/security'], + } + + file { '/srv/static/security': + ensure => directory, + owner => 'jenkins', + group => 'jenkins', + require => User['jenkins'], + } + ########################################################### # Governance