Ian Wienand 1ab3c2ad81 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Iae9cb7f3fdd8fb5c0bcb1112aa4eca9f3430193f
2019-03-24 20:35:45 +00:00

53 lines
1.4 KiB
Puppet

include pip
include reviewday
include httpd
file { '/srv/static':
ensure => directory,
}
file { '/srv/static/status':
ensure => directory,
require => File['/srv/static'],
}
$status_vhost = 'NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot /srv/static/status
Alias /reviews /srv/static/reviewday
<Directory /srv/static/reviewday>
AllowOverride None
Order allow,deny
allow from all
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
ErrorLog /var/log/apache2/status.openstack.org_error.log
LogLevel warn
CustomLog /var/log/apache2/status.openstack.org_access.log combined
ServerSignature Off
</VirtualHost>'
::httpd::vhost { 'status.openstack.org':
port => 80,
priority => '50',
docroot => '/srv/static/status',
content => $status_vhost,
require => File['/srv/static/status'],
}
reviewday::site { 'reviewday':
git_url => 'https://git.openstack.org/openstack-infra/reviewday',
serveradmin => 'webmaster@openstack.org',
httproot => '/srv/static/reviewday',
gerrit_url => 'review.openstack.org',
gerrit_port => '29418',
gerrit_user => 'reviewday',
reviewday_gerrit_ssh_key => '',
reviewday_rsa_pubkey_contents => '',
reviewday_rsa_key_contents => '',
}