Merge "adding staging server for activity board"
This commit is contained in:
commit
2f81032060
30
doc/source/activity.rst
Normal file
30
doc/source/activity.rst
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
:title: Activity Board server
|
||||||
|
|
||||||
|
Activity Board
|
||||||
|
##############
|
||||||
|
|
||||||
|
A temporary server hosting the OpenStack Dash and Insights services for
|
||||||
|
various projects metrics.
|
||||||
|
|
||||||
|
|
||||||
|
At a glance:
|
||||||
|
============
|
||||||
|
|
||||||
|
:Hosts:
|
||||||
|
* http://activity.openstack.org
|
||||||
|
* http://activity-dev.openstack.org
|
||||||
|
|
||||||
|
:Bugs:
|
||||||
|
* https://bugs.launchpad.net/openstack-community
|
||||||
|
|
||||||
|
:Source code:
|
||||||
|
* http://sourceforge.net/projects/wikidsopenstack/
|
||||||
|
* http://metricsgrimoire.github.com/
|
||||||
|
* http://vizgrimoire.bitergia.org/
|
||||||
|
|
||||||
|
Overview
|
||||||
|
========
|
||||||
|
|
||||||
|
At the moment only the staging server activity-dev is managed via
|
||||||
|
puppet. It runs Apache. Eventually we'll have activity.openstack.org run
|
||||||
|
fully on the official OpenStack Infrastructure.
|
@ -219,6 +219,15 @@ node 'etherpad-dev.openstack.org' {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
node 'activity-dev.openstack.org' {
|
||||||
|
class { 'openstack_project::activity_dev':
|
||||||
|
sysadmins => hiera('sysadmins'),
|
||||||
|
site_admin_password => hiera('activity_dev_site_admin_password'),
|
||||||
|
site_mysql_host => hiera('activity_dev_site_mysql_host'),
|
||||||
|
site_mysql_password => hiera('activity_dev_site_mysql_password'),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
node 'wiki.openstack.org' {
|
node 'wiki.openstack.org' {
|
||||||
class { 'openstack_project::wiki':
|
class { 'openstack_project::wiki':
|
||||||
mysql_root_password => hiera('wiki_db_password'),
|
mysql_root_password => hiera('wiki_db_password'),
|
||||||
|
45
modules/openstack_project/manifests/activity_dev.pp
Normal file
45
modules/openstack_project/manifests/activity_dev.pp
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Server for activity board - staging
|
||||||
|
class openstack_project::activity_dev (
|
||||||
|
$site_admin_password = '',
|
||||||
|
$site_mysql_password = '',
|
||||||
|
$site_mysql_host = '',
|
||||||
|
$sysadmins = [],
|
||||||
|
) {
|
||||||
|
|
||||||
|
|
||||||
|
class { 'openstack_project::server':
|
||||||
|
iptables_public_tcp_ports => [22, 80],
|
||||||
|
sysadmins => $sysadmins,
|
||||||
|
}
|
||||||
|
|
||||||
|
realize (
|
||||||
|
User::Virtual::LocalUser['smaffulli'],
|
||||||
|
)
|
||||||
|
|
||||||
|
include apache
|
||||||
|
|
||||||
|
a2mod { 'rewrite':
|
||||||
|
ensure => present,
|
||||||
|
}
|
||||||
|
a2mod { 'proxy':
|
||||||
|
ensure => present,
|
||||||
|
}
|
||||||
|
a2mod { 'proxy_http':
|
||||||
|
ensure => present,
|
||||||
|
}
|
||||||
|
|
||||||
|
apache::vhost {'activity-dev.openstack.org':
|
||||||
|
port => 80,
|
||||||
|
priority => '50',
|
||||||
|
docroot => '/srv/static/dash',
|
||||||
|
require => File['/srv/static/dash'],
|
||||||
|
}
|
||||||
|
|
||||||
|
file { '/srv/static/dash':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'www-data',
|
||||||
|
group => 'www-data',
|
||||||
|
require => User['www-data'],
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user